Package org.jboss.resteasy.reactive
Annotation Type ResponseHeader
-
@Retention(RUNTIME) @Target(METHOD) @Repeatable(List.class) public @interface ResponseHeader
When placed on a resource method, then RESTEasy Reactive will the specified HTTP response headers, if the method completes without an exception and if it does not returnResponse
orRestResponse
. Furthermore, users should not depend on this annotation to set theContent-Type
andContent-Length
headers as those as set automatically by RESTEasy Reactive.