The header tag is used to create a scoped variable that references the specified request header. The list of attribute for this tag is given in Table 8.4.
| Attribute | Description |
|---|---|
| id | A required attribute that specifies the name of the scoped variable that will be created to reference the specified request header. |
| multiple | The presence of this attribute in the header tag causes all matching headers to be included and their references stored into a scoped variable of type String[]. If this attribute is not present, the first value for the specified header will be retrieved as a value of type String. |
| name | A required attribute that specifies the name of the request header to be referenced by the new scoped variable that will be created. |
| value | The default value to use if no header with the specified name was found in this request. |
Table 8.4: The header tag’s attributes