Package org.jboss.resteasy.reactive
Annotation Type RestHeader
-
@Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface RestHeader
Equivalent of HeaderParam but with optional name.When the name is not specified, then the parameter name is converted to kebab case while the first letter of every part of the kebab is made uppercase.
For example
@RestHeader String iAmTheParam
results in the value of the HTTP headerI-Am-The-Param
being used.
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-