Package 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>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LinkDecorator()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Marshaller` | `decorate​(Marshaller target, AddLinks annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LinkDecorator

          public LinkDecorator()

  - ### Method Detail

    - #### decorate

          public Marshaller decorate​(Marshaller target,
                                     AddLinks annotation,
                                     Class type,
                                     Annotation[] annotations,
                                     javax.ws.rs.core.MediaType mediaType)

      Specified by:
        `decorate` in interface `DecoratorProcessor<Marshaller,​AddLinks>`
      Parameters:
        `target` - i.e. a Marshaller instance
        `annotation` - the annotation that triggered the decorator
        `type` - type
        `annotations` - array of annotations
        `mediaType` - media type
      Returns:
        should never return null