CookieSessionBuilder

open class CookieSessionBuilder<S : Any>

Cookie session configuration builder

Constructors

<init>

CookieSessionBuilder(type: KClass<S>)

Cookie session configuration builder

Properties

cookie

Cookie header configuration

serializer

var serializer: SessionSerializer

Session instance serializer

transformers

Registered session transformers

type

val type: KClass<S>
  • session instance type

Functions

transform

fun transform(transformer: SessionTransportTransformer): Unit

Register a session transformer. Useful for encryption, signing and so on

Inheritors

CookieIdSessionBuilder

class CookieIdSessionBuilder<S : Any> : 
    CookieSessionBuilder<S>

Cookie session configuration builder