Package org.jboss.resteasy.links.impl
Class JsonLinkDecorator
- java.lang.Object
-
- org.jboss.resteasy.links.impl.JsonLinkDecorator
-
- All Implemented Interfaces:
DecoratorProcessor<DecoratedEntityContainer,AddLinks>
public class JsonLinkDecorator extends Object implements DecoratorProcessor<DecoratedEntityContainer,AddLinks>
-
-
Constructor Summary
Constructors Constructor Description JsonLinkDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecoratedEntityContainer
decorate(DecoratedEntityContainer target, AddLinks annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
-
-
-
Method Detail
-
decorate
public DecoratedEntityContainer decorate(DecoratedEntityContainer target, AddLinks annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
decorate
in interfaceDecoratorProcessor<DecoratedEntityContainer,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
-
-