trait SessionStorage extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SessionStorage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def createSessionIfNeeded(sessionKey: SessionKey): Boolean
Ensure existance of a session with the provided key.
Ensure existance of a session with the provided key. Returns whether the session is new
- abstract def destroySession(sessionKey: SessionKey): Boolean
Destroy a session
- abstract def getSessionValue(sessionKey: SessionKey, key: ValueKey): Option[AnyRef]
Get value stored in existing session, returns None when either the session or value cannot be found
- abstract def getSessionValues(sessionKey: SessionKey): Option[Map[ValueKey, AnyRef]]
Get all values stored in an existing session, returns None when the session id or the values cannot be found
- abstract def renewSession(sessionKey: SessionKey): Boolean
Renew a session, meaning its lifetime start from 'now'
- abstract def sessionExists(sessionKey: SessionKey): Boolean
Check whether a session exists
- abstract val sessionLifetime: FiniteDuration
Time after which a session gets automatically destroyed
- abstract def setSessionValue(sessionKey: SessionKey, key: ValueKey, value: AnyRef): Boolean
Set a value for a given session.
Set a value for a given session. Returns false if the session did not exist
- abstract def setSessionValues(sessionKey: SessionKey, values: Map[ValueKey, AnyRef]): Boolean
Set all values for a given session.
Set all values for a given session. Returns false if the session did not exist
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() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated