org.jboss.resteasy.core.interception
Class DecoratorMatcher
java.lang.Object
org.jboss.resteasy.core.interception.DecoratorMatcher
public class DecoratorMatcher
- extends Object
Finds DecoratorProcessors and calls decorates on them by introspecting annotations.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
DecoratorProcessor
,
DecorateTypes
,
Decorator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoratorMatcher
public DecoratorMatcher()
decorate
public <T> T decorate(Class<T> targetClass,
T target,
Class type,
Annotation[] annotations,
MediaType mediaType)
- Type Parameters:
T
- - Parameters:
targetClass
- i.e. Marshallertarget
- type
- i.e. a JAXB annotated classannotations
- i.e. method or parameter annotationsmediaType
-
- Returns:
Copyright © 2012. All Rights Reserved.