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