Annotation Type HeaderMap
@Documented
@Retention(RUNTIME)
@Target(PARAMETER)
@HTTPRequestParamMarker(HEADER)
public @interface HeaderMap
Sets an HTTP header for each entry of the annotated
Map<String, ?>
parameter, for a set of headers whose names aren't known until runtime -
e.g. caller-supplied headers in a multi-tenant app. Use HeaderParam
instead for a header whose name is fixed and known at compile time; the
two can be combined on the same method.
A null map, or a null entry value, is skipped - neither
throws. At most one parameter per method may be annotated
@HeaderMap.