Skip to content

/AWS1/CL_MPBRULECONDITION

The conditions for a routing rule. All specified fields must match for the rule to apply (AND logic). At least one condition field must be set.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_hostheader TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING

The exact host header value to match.

iv_hostheaderwildcard TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING

A wildcard pattern for host header matching (for example, *.example.com).

iv_pathprefix TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING

The path prefix to match. The request path must start with this value. Must start with /.

iv_pathexact TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING

The exact path to match. Must start with /.

io_querystringequals TYPE REF TO /AWS1/CL_MPBQRYSTRKEYVALUEPAIR /AWS1/CL_MPBQRYSTRKEYVALUEPAIR

A query string key-value pair that must be present and match exactly.

iv_querystringexists TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING

A query string key that must be present in the request (any value is accepted).


Queryable Attributes

hostHeader

The exact host header value to match.

Accessible with the following methods

Method Description
GET_HOSTHEADER() Getter for HOSTHEADER, with configurable default
ASK_HOSTHEADER() Getter for HOSTHEADER w/ exceptions if field has no value
HAS_HOSTHEADER() Determine if HOSTHEADER has a value

hostHeaderWildcard

A wildcard pattern for host header matching (for example, *.example.com).

Accessible with the following methods

Method Description
GET_HOSTHEADERWILDCARD() Getter for HOSTHEADERWILDCARD, with configurable default
ASK_HOSTHEADERWILDCARD() Getter for HOSTHEADERWILDCARD w/ exceptions if field has no
HAS_HOSTHEADERWILDCARD() Determine if HOSTHEADERWILDCARD has a value

pathPrefix

The path prefix to match. The request path must start with this value. Must start with /.

Accessible with the following methods

Method Description
GET_PATHPREFIX() Getter for PATHPREFIX, with configurable default
ASK_PATHPREFIX() Getter for PATHPREFIX w/ exceptions if field has no value
HAS_PATHPREFIX() Determine if PATHPREFIX has a value

pathExact

The exact path to match. Must start with /.

Accessible with the following methods

Method Description
GET_PATHEXACT() Getter for PATHEXACT, with configurable default
ASK_PATHEXACT() Getter for PATHEXACT w/ exceptions if field has no value
HAS_PATHEXACT() Determine if PATHEXACT has a value

queryStringEquals

A query string key-value pair that must be present and match exactly.

Accessible with the following methods

Method Description
GET_QUERYSTRINGEQUALS() Getter for QUERYSTRINGEQUALS

queryStringExists

A query string key that must be present in the request (any value is accepted).

Accessible with the following methods

Method Description
GET_QUERYSTRINGEXISTS() Getter for QUERYSTRINGEXISTS, with configurable default
ASK_QUERYSTRINGEXISTS() Getter for QUERYSTRINGEXISTS w/ exceptions if field has no v
HAS_QUERYSTRINGEXISTS() Determine if QUERYSTRINGEXISTS has a value