/AWS1/CL_EL2RULETRANSFORM¶
Information about a transform to apply to requests that match a rule. Transforms are applied to requests before they are sent to targets.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_type TYPE /AWS1/EL2TRANSFORMTYPEENUM /AWS1/EL2TRANSFORMTYPEENUM¶
The type of transform.
host-header-rewrite- Rewrite the host header.
url-rewrite- Rewrite the request URL.
Optional arguments:¶
io_hostheaderrewriteconfig TYPE REF TO /AWS1/CL_EL2HOSTHEADERREWRIT00 /AWS1/CL_EL2HOSTHEADERREWRIT00¶
Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only when
Typeishost-header-rewrite.
io_urlrewriteconfig TYPE REF TO /AWS1/CL_EL2URLREWRITECONFIG /AWS1/CL_EL2URLREWRITECONFIG¶
Information about a URL rewrite transform. This transform modifies the request URL. Specify only when
Typeisurl-rewrite.
Queryable Attributes¶
Type¶
The type of transform.
host-header-rewrite- Rewrite the host header.
url-rewrite- Rewrite the request URL.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
HostHeaderRewriteConfig¶
Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only when
Typeishost-header-rewrite.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HOSTHEADERREWRITECONFIG() |
Getter for HOSTHEADERREWRITECONFIG |
UrlRewriteConfig¶
Information about a URL rewrite transform. This transform modifies the request URL. Specify only when
Typeisurl-rewrite.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_URLREWRITECONFIG() |
Getter for URLREWRITECONFIG |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_RULETRANSFORMLIST¶
TYPES TT_RULETRANSFORMLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EL2RULETRANSFORM WITH DEFAULT KEY
.