Package org.jboss.resteasy.links.impl
Class LinkDecorator
- java.lang.Object
-
- org.jboss.resteasy.links.impl.LinkDecorator
-
- All Implemented Interfaces:
DecoratorProcessor<Marshaller,AddLinks>
public class LinkDecorator extends Object implements DecoratorProcessor<Marshaller,AddLinks>
-
-
Constructor Summary
Constructors Constructor Description LinkDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Marshaller
decorate(Marshaller target, AddLinks annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
-
-
-
Method Detail
-
decorate
public Marshaller decorate(Marshaller target, AddLinks annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
decorate
in interfaceDecoratorProcessor<Marshaller,AddLinks>
- Parameters:
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratortype
- typeannotations
- array of annotationsmediaType
- media type- Returns:
- should never return null
-
-