SessionTransport
interface SessionTransport
SessionTransport receive, send or clear a session from/to an ApplicationCall.
Functions
abstract fun clear(call: ApplicationCall): Unit Clears session information from a specific call. |
|
abstract fun receive(call: ApplicationCall): String? Gets session information from a call and returns a String if success or null if failed. |
|
abstract fun send(call: ApplicationCall, value: String): Unit |
Inheritors
class SessionTransportCookie : SessionTransport SessionTransport that adds a Set-Cookie header and reads Cookie header for the specified cookie name, and a specific cookie configuration after applying/un-applying the specified transforms defined by transformers. |
|
class SessionTransportHeader : SessionTransport SessionTransport that sets or gets the specific header name, applying/un-applying the specified transforms defined by transformers. |