Class DecoratorMatcher
java.lang.Object
org.jboss.resteasy.core.interception.jaxrs.DecoratorMatcher
Finds DecoratorProcessors and calls decorates on them by introspecting annotations.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tdecorate(Class<T> targetClass, T target, Class type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) <T> booleanhasDecorator(Class<T> targetClass, Annotation[] annotations)
-
Constructor Details
-
DecoratorMatcher
public DecoratorMatcher()
-
-
Method Details
-
decorate
public <T> T decorate(Class<T> targetClass, T target, Class type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Type Parameters:
T- type- Parameters:
targetClass- i.e. Marshallertarget- target objecttype- i.e. a JAXB annotated classannotations- i.e. method or parameter annotationsmediaType- media type- Returns:
- decorated target object
-
hasDecorator
-