Skip to content

/AWS1/CL_BDOSTICKINESSCONF

The configuration for session-sticky routing to a target. Session stickiness routes requests that share a session identifier to the same target.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_identifier TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING

The expression that identifies where to extract the session identifier from the request (for example, $context.header.x-session-id).

Optional arguments:

iv_timeout TYPE /AWS1/BDOSTICKINESSTIMEOUT /AWS1/BDOSTICKINESSTIMEOUT

The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.


Queryable Attributes

identifier

The expression that identifies where to extract the session identifier from the request (for example, $context.header.x-session-id).

Accessible with the following methods

Method Description
GET_IDENTIFIER() Getter for IDENTIFIER, with configurable default
ASK_IDENTIFIER() Getter for IDENTIFIER w/ exceptions if field has no value
HAS_IDENTIFIER() Determine if IDENTIFIER has a value

timeout

The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.

Accessible with the following methods

Method Description
GET_TIMEOUT() Getter for TIMEOUT, with configurable default
ASK_TIMEOUT() Getter for TIMEOUT w/ exceptions if field has no value
HAS_TIMEOUT() Determine if TIMEOUT has a value