SessionTrackerByValue
class SessionTrackerByValue : SessionTracker
SessionTracker that stores the contents of the session as part of HTTP Cookies/Headers. It uses a specific serializer to serialize and deserialize objects of type type.
Constructors
SessionTrackerByValue( SessionTracker that stores the contents of the session as part of HTTP Cookies/Headers. It uses a specific serializer to serialize and deserialize objects of type type. |
Properties
val serializer: SessionSerializer session serializer |
|
val type: KClass<*> is a session instance type |
Functions
suspend fun clear(call: ApplicationCall): Unit Clear session information |
|
suspend fun load( Load session value from transport string for the specified call |
|
suspend fun store(call: ApplicationCall, value: Any): String Store session value and return respective transport string for the specified call. |
|
fun toString(): String |
|
Validate session information |