public class JsonLinkDecorator extends Object implements DecoratorProcessor<DecoratedEntityContainer,AddLinks>
Constructor and Description |
---|
JsonLinkDecorator() |
Modifier and Type | Method and Description |
---|---|
DecoratedEntityContainer |
decorate(DecoratedEntityContainer target,
AddLinks annotation,
Class type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
public DecoratedEntityContainer decorate(DecoratedEntityContainer target, AddLinks annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
decorate
in interface DecoratorProcessor<DecoratedEntityContainer,AddLinks>
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratortype
- typeannotations
- array of annotationsmediaType
- media typeCopyright © 2020 JBoss by Red Hat. All rights reserved.