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 -
Method Summary
Modifier and TypeMethodDescriptiondecorate(DecoratedEntityContainer target, AddLinks annotation, Class type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
-
Constructor Details
-
JsonLinkDecorator
public JsonLinkDecorator()
-
-
Method Details
-
decorate
public DecoratedEntityContainer decorate(DecoratedEntityContainer target, AddLinks annotation, Class type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
decoratein 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
-