Annotation Interface InjectRestLinks


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface InjectRestLinks
Inject web links into the response HTTP headers with the "Link" header field. Only the response of the REST methods annotated with RestLink will include the "Link" headers.

The InjectRestLinks annotation can be used at either class or method levels.

See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Find all the types available in RestLinkType.
  • Element Details

    • value

      Find all the types available in RestLinkType.
      Returns:
      what types of links will be injected.
      Default:
      TYPE