Annotation 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
)
-
Optional Element Summary
-
Element Details
-
value
String valueThe name of the HTTP request header to bind to.- Default:
"\n\t\t\n\t\t\n\u0000\u0001\u0002\n\t\t\t\t\n"
-