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 add the specified HTTP response headers, if the method completes without an exception and if it does not returnResponseorRestResponse. Furthermore, users should not depend on this annotation to set theContent-TypeandContent-Lengthheaders, as those are set automatically by RESTEasy Reactive.