Configuration
class Configuration
Sessions configuration builder
Constructors
Configuration() Sessions configuration builder |
Properties
val providers: List<SessionProvider<*>> List of session providers to be registered |
Functions
fun register(provider: SessionProvider<*>): Unit Register a session provider |
Extension Functions
fun <S : Any> Configuration. fun <S : Any> Configuration.cookie( fun <S : Any> Configuration. Configure sessions to get it from cookie using session storage fun <S : Any> Configuration.cookie( Configures a session using a cookie with the specified name using it as a session id. The actual content of the session is stored at server side using the specified storage. The cookie configuration can be set inside block using the cookie property exposed by CookieIdSessionBuilder. fun <S : Any> Configuration.cookie(name: String): Unit Configure sessions to serialize to/from HTTP cookie fun <S : Any> Configuration.cookie( Configures a session using a cookie with the specified name using it as for the actual session content optionally transformed by specified transforms in block. The cookie configuration can be set inside block using the cookie property exposed by CookieIdSessionBuilder. fun <S : Any> Configuration. Configure sessions to serialize to/from HTTP cookie configuring it by block |
|
fun <S : Any> Configuration. fun <S : Any> Configuration.header( Configure sessions to get it from HTTP header using session storage fun <S : Any> Configuration.header( fun <S : Any> Configuration. Configures a session using a header with the specified name using it as a session id. The actual content of the session is stored at server side using the specified storage. fun <S : Any> Configuration.header(name: String): Unit Configure sessions to serialize to/from HTTP header fun <S : Any> Configuration.header( Configures a session using a header with the specified name using it for the actual session content optionally transformed by specified transforms in block. fun <S : Any> Configuration. Configures a session using a header with the specified name using it for the actual session content and apply block function to configure serializataion and optional transformations |