Package org.kohsuke.stapler
Annotation Interface Header
@Retention(RUNTIME)
@Target(PARAMETER)
@Documented
@InjectedParameter(HandlerImpl.class)
public @interface Header
Indicates that this parameter is bound from HTTP header.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
If true, request without this header will be rejected.
-
Element Details
-
value
String valueHTTP header name.
-
-
-
required
boolean requiredIf true, request without this header will be rejected.- Default:
- false
-