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.

it_compositeidentifier TYPE /AWS1/CL_BDOCOMPOSITEIDLIST_W=>TT_COMPOSITEIDENTIFIERLIST TT_COMPOSITEIDENTIFIERLIST

Additional headers to include in session affinity routing. When set, requests are only considered part of the same session if both the identifier and all composite identifier values match.


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

compositeIdentifier

Additional headers to include in session affinity routing. When set, requests are only considered part of the same session if both the identifier and all composite identifier values match.

Accessible with the following methods

Method Description
GET_COMPOSITEIDENTIFIER() Getter for COMPOSITEIDENTIFIER, with configurable default
ASK_COMPOSITEIDENTIFIER() Getter for COMPOSITEIDENTIFIER w/ exceptions if field has no
HAS_COMPOSITEIDENTIFIER() Determine if COMPOSITEIDENTIFIER has a value