HeaderIdSessionBuilder

A configuration that allows you to configure header settings for Sessions.

Report a problem

Properties

Link copied to clipboard

When set to true, session data is not re-sent if unchanged from the incoming value. This avoids unnecessary session headers but prevents session expiration refresh. Session classes should properly implement equals() for this to work correctly. Default: false.

Link copied to clipboard

Specifies a serializer used to serialize session data.

Link copied to clipboard

A function used to provide a current session ID.

Link copied to clipboard

Gets transformers used to sign and encrypt session data.

Link copied to clipboard
val type: KClass<S>

session instance type

Link copied to clipboard

Functions

Link copied to clipboard

Registers a function used to generate a session ID.

fun identity(f: () -> String, dummy: Unit = Unit)
Link copied to clipboard
Link copied to clipboard

Registers a transformer used to sign and encrypt session data.