@Target(value=PARAMETER)
 @Retention(value=RUNTIME)
 @Documented
public @interface Header
| Modifier and Type | Optional Element and Description | 
|---|---|
| java.lang.String | defaultValueThe default value to use as a fallback. | 
| java.lang.String | nameThe name of the request header to bind to. | 
| boolean | requiredWhether the header is required. | 
| java.lang.String | valueAlias for  name(). | 
public abstract boolean required
Default is true, leading to an exception if the header is
 missing. Switch this to false if you prefer a null
 value in case of a header missing.
defaultValue()public abstract java.lang.String defaultValue
Supplying a default value implicitly sets required() to false.