class ForgetfulSessionStorage extends SessionStorage
- Alphabetic
- By Inheritance
- ForgetfulSessionStorage
- SessionStorage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ForgetfulSessionStorage()
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def createOrReuseSession(sessionId: SessionId): 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
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- def destroySession(sessionId: SessionId): Boolean
Destroy a session
Destroy a session
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- 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 getSessionValue(sessionId: SessionId, key: ValueKey): Option[Any]
Get value stored in existing session, returns None when either the session or value cannot be found
Get value stored in existing session, returns None when either the session or value cannot be found
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- def getSessionValues(sessionId: SessionId): Option[Map[ValueKey, Any]]
Get all values stored in an existing session, returns None when the session id or the values cannot be found
Get all values stored in an existing session, returns None when the session id or the values cannot be found
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- 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()
- def renewSession(sessionId: SessionId): Boolean
Renew a session, meaning its lifetime start from 'now'
Renew a session, meaning its lifetime start from 'now'
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- def sessionExists(sessionId: SessionId): Boolean
Check whether a session exists
Check whether a session exists
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- def setSessionValue(sessionId: SessionId, key: ValueKey, value: Any): Boolean
Set a value for a given session.
Set a value for a given session. Returns false if the session did not exist
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- def setSessionValues(sessionId: SessionId, values: Map[ValueKey, Any]): Boolean
Set all values for a given session.
Set all values for a given session. Returns false if the session did not exist
- Definition Classes
- ForgetfulSessionStorage → SessionStorage
- 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated