trait ServerSessionStore extends SessionStore
For convenience, server side session store implementations should base on this trait. It handles storing and restoring session ID in cookie for you.
- Alphabetic
- By Inheritance
- ServerSessionStore
- SessionStore
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def get(sessionId: String): Option[Map[String, Any]]
To be implemented by server side session store implementations
- abstract def put(sessionId: String, immutableMap: Map[String, Any]): Unit
To be implemented by server side session store implementations
- abstract def remove(sessionId: String): Unit
To be implemented by server side session store implementations
- abstract def start(): Unit
- Definition Classes
- SessionStore
- abstract def stop(): Unit
- Definition Classes
- SessionStore
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def restore(env: SessionEnv): Session
Called only at the first access to the session.
Called only at the first access to the session. If session is not used, no proccessing is performed. If called, "restore" is always called before "store".
- Definition Classes
- ServerSessionStore → SessionStore
- def store(session: Session, env: SessionEnv): Unit
Called before the response is sent to the client, but only if "restore" has been called.
Called before the response is sent to the client, but only if "restore" has been called. If called, "store" is always called after "restore".
If session is empty: - If browser did not send session cookie: do nothing, do not send back useless cookie - If browser did send session cookie: set max age to 0 to make browser delete session cookie immediately
- Definition Classes
- ServerSessionStore → SessionStore
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()