/AWS1/CL_APMHTTPGWROUTEMATCH¶
An object that represents the criteria for determining a request match.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_prefix TYPE /AWS1/APMSTRING /AWS1/APMSTRING¶
Specifies the path to match requests with. This parameter must always start with
/, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name ismy-service.localand you want the route to match requests tomy-service.local/metrics, your prefix should be/metrics.
io_path TYPE REF TO /AWS1/CL_APMHTTPPATHMATCH /AWS1/CL_APMHTTPPATHMATCH¶
The path to match on.
it_queryparameters TYPE /AWS1/CL_APMHTTPQUERYPARAMETER=>TT_HTTPQUERYPARAMETERS TT_HTTPQUERYPARAMETERS¶
The query parameter to match on.
iv_method TYPE /AWS1/APMHTTPMETHOD /AWS1/APMHTTPMETHOD¶
The method to match on.
io_hostname TYPE REF TO /AWS1/CL_APMGWROUTEHOSTNAMEM00 /AWS1/CL_APMGWROUTEHOSTNAMEM00¶
The host name to match on.
it_headers TYPE /AWS1/CL_APMHTTPGWROUTEHEADER=>TT_HTTPGATEWAYROUTEHEADERS TT_HTTPGATEWAYROUTEHEADERS¶
The client request headers to match on.
iv_port TYPE /AWS1/APMLISTENERPORT /AWS1/APMLISTENERPORT¶
The port number to match on.
Queryable Attributes¶
prefix¶
Specifies the path to match requests with. This parameter must always start with
/, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name ismy-service.localand you want the route to match requests tomy-service.local/metrics, your prefix should be/metrics.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PREFIX() |
Getter for PREFIX, with configurable default |
ASK_PREFIX() |
Getter for PREFIX w/ exceptions if field has no value |
HAS_PREFIX() |
Determine if PREFIX has a value |
path¶
The path to match on.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PATH() |
Getter for PATH |
queryParameters¶
The query parameter to match on.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_QUERYPARAMETERS() |
Getter for QUERYPARAMETERS, with configurable default |
ASK_QUERYPARAMETERS() |
Getter for QUERYPARAMETERS w/ exceptions if field has no val |
HAS_QUERYPARAMETERS() |
Determine if QUERYPARAMETERS has a value |
method¶
The method to match on.
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 |
hostname¶
The host name to match on.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HOSTNAME() |
Getter for HOSTNAME |
headers¶
The client request headers to match on.
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 |
port¶
The port number to match on.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PORT() |
Getter for PORT, with configurable default |
ASK_PORT() |
Getter for PORT w/ exceptions if field has no value |
HAS_PORT() |
Determine if PORT has a value |