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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkDecorator
public LinkDecorator()
decorate
public Marshaller decorate(Marshaller target,
AddLinks annotation,
Class type,
Annotation[] annotations,
MediaType mediaType)
- Specified by:
decorate in interface DecoratorProcessor<Marshaller,AddLinks>
- Parameters:
target - i.e. a Marshaller instanceannotation - the annotation that triggered the decorator
- Returns:
- should never return null
Copyright © 2011. All Rights Reserved.