Annotation Type ResponseHeader


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Repeatable(List.class)
    public @interface ResponseHeader
    When placed on a resource method, then RESTEasy Reactive will add the specified HTTP response headers, if the method completes without an exception and if it does not return Response or RestResponse. Furthermore, users should not depend on this annotation to set the Content-Type and Content-Length headers, as those are set automatically by RESTEasy Reactive.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name  
      String[] value