/AWS1/CL_MDTHTTPREQUEST¶
HTTP request configuration parameters that define how MediaTailor communicates with the ad decision server.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_method TYPE /AWS1/MDTMETHOD /AWS1/MDTMETHOD¶
The HTTP method to use when making requests to the ad decision server. Supported values are
GETandPOST.
iv_body TYPE /AWS1/MDT__STRING /AWS1/MDT__STRING¶
The request body content to send with HTTP requests to the ad decision server. This value is only eligible for
POSTrequests.
it_headers TYPE /AWS1/CL_MDTSTRINGMAP_W=>TT_STRINGMAP TT_STRINGMAP¶
Custom HTTP headers to include in requests to the ad decision server. Specify headers as key-value pairs. This value is only eligible for
POSTrequests.
iv_compressrequest TYPE /AWS1/MDTCOMPRESSIONMETHOD /AWS1/MDTCOMPRESSIONMETHOD¶
The compression method to apply to requests sent to the ad decision server. Supported values are
NONEandGZIP. This value is only eligible forPOSTrequests.
Queryable Attributes¶
Method¶
The HTTP method to use when making requests to the ad decision server. Supported values are
GETandPOST.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METHOD() |
Getter for METHOD, with configurable default |
ASK_METHOD() |
Getter for METHOD w/ exceptions if field has no value |
HAS_METHOD() |
Determine if METHOD has a value |
Body¶
The request body content to send with HTTP requests to the ad decision server. This value is only eligible for
POSTrequests.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BODY() |
Getter for BODY, with configurable default |
ASK_BODY() |
Getter for BODY w/ exceptions if field has no value |
HAS_BODY() |
Determine if BODY has a value |
Headers¶
Custom HTTP headers to include in requests to the ad decision server. Specify headers as key-value pairs. This value is only eligible for
POSTrequests.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEADERS() |
Getter for HEADERS, with configurable default |
ASK_HEADERS() |
Getter for HEADERS w/ exceptions if field has no value |
HAS_HEADERS() |
Determine if HEADERS has a value |
CompressRequest¶
The compression method to apply to requests sent to the ad decision server. Supported values are
NONEandGZIP. This value is only eligible forPOSTrequests.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COMPRESSREQUEST() |
Getter for COMPRESSREQUEST, with configurable default |
ASK_COMPRESSREQUEST() |
Getter for COMPRESSREQUEST w/ exceptions if field has no val |
HAS_COMPRESSREQUEST() |
Determine if COMPRESSREQUEST has a value |