Annotation Type 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:
    RFC 5988 Web Linking Standard
    • Optional Element Summary

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

      • value

        RestLinkType value
        Find all the types available in RestLinkType.
        Returns:
        what types of links will be injected.
        Default:
        io.quarkus.resteasy.reactive.links.RestLinkType.TYPE