/AWS1/CL_WA2CUSTOMHTTPHEADER¶
A custom header for custom request and response handling. This is used in CustomResponse and CustomRequestHandling.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_name
TYPE /AWS1/WA2CUSTOMHTTPHEADERNAME
/AWS1/WA2CUSTOMHTTPHEADERNAME
¶
The name of the custom header.
For custom request header insertion, when WAF inserts the header into the request, it prefixes this name
x-amzn-waf-
, to avoid confusion with the headers that are already in the request. For example, for the header namesample
, WAF inserts the headerx-amzn-waf-sample
.
iv_value
TYPE /AWS1/WA2CUSTOMHTTPHEADERVALUE
/AWS1/WA2CUSTOMHTTPHEADERVALUE
¶
The value of the custom header.
Queryable Attributes¶
Name¶
The name of the custom header.
For custom request header insertion, when WAF inserts the header into the request, it prefixes this name
x-amzn-waf-
, to avoid confusion with the headers that are already in the request. For example, for the header namesample
, WAF inserts the headerx-amzn-waf-sample
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
Value¶
The value of the custom header.
Accessible with the following methods¶
Method | Description |
---|---|
GET_VALUE() |
Getter for VALUE, with configurable default |
ASK_VALUE() |
Getter for VALUE w/ exceptions if field has no value |
HAS_VALUE() |
Determine if VALUE has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_CUSTOMHTTPHEADERS
¶
TYPES TT_CUSTOMHTTPHEADERS TYPE STANDARD TABLE OF REF TO /AWS1/CL_WA2CUSTOMHTTPHEADER WITH DEFAULT KEY
.