trait SessionStorage extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SessionStorage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
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
-
abstract
def
destroySession(sessionId: SessionId): Boolean
Destroy a session
-
abstract
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
-
abstract
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
-
abstract
def
renewSession(sessionId: SessionId): Boolean
Renew a session, meaning its lifetime start from 'now'
-
abstract
def
sessionExists(sessionId: SessionId): Boolean
Check whether a session exists
-
abstract
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
-
abstract
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
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated