Skip to content

/AWS1/CL_WA2CUSTOMREQHANDLING

Custom request handling behavior that inserts custom headers into a web request. You can add custom request handling for WAF to use when the rule action doesn't block the request. For example, CaptchaAction for requests with valid t okens, and AllowAction.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

CONSTRUCTOR

IMPORTING

Required arguments:

it_insertheaders TYPE /AWS1/CL_WA2CUSTOMHTTPHEADER=>TT_CUSTOMHTTPHEADERS TT_CUSTOMHTTPHEADERS

The HTTP headers to insert into the request. Duplicate header names are not allowed.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.


Queryable Attributes

InsertHeaders

The HTTP headers to insert into the request. Duplicate header names are not allowed.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Accessible with the following methods

Method Description
GET_INSERTHEADERS() Getter for INSERTHEADERS, with configurable default
ASK_INSERTHEADERS() Getter for INSERTHEADERS w/ exceptions if field has no value
HAS_INSERTHEADERS() Determine if INSERTHEADERS has a value