public interface DecoratorProcessor<T,A extends java.lang.annotation.Annotation>
Modifier and Type | Method and Description |
---|---|
T |
decorate(T target,
A annotation,
java.lang.Class type,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
T decorate(T target, A annotation, java.lang.Class type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratortype
- annotations
- mediaType
-