Annotation Type Header
@Retention(RUNTIME) @Target({PARAMETER,FIELD,METHOD,CONSTRUCTOR}) public @interface Header
Annotation for mapping an HTTP request header onto the following elements.
a parameter of an annotated service method
or, a field of a request bean
or, a constructor with only one parameter of a request bean
or, a method with only one parameter of a request bean
or, a parameter of a request bean constructor
or, a parameter of a request bean method
(See: RequestConverter
and RequestConverterFunction
)