object AkkaHttpSessionStore extends SessionStore[AkkaHttpWebContext]
- Alphabetic
- By Inheritance
- AkkaHttpSessionStore
- SessionStore
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 buildFromTrackableSession(context: AkkaHttpWebContext, trackableSession: Any): Optional[SessionStore[AkkaHttpWebContext]]
Build a new session store from a trackable session.
Build a new session store from a trackable session.
- context
the web context
- trackableSession
the trackable session
- returns
the optional new session store
- Definition Classes
- AkkaHttpSessionStore → SessionStore
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def destroySession(context: AkkaHttpWebContext): Boolean
Destroy the web session.
Destroy the web session.
- context
the web context
- returns
whether the session has been destroyed
- Definition Classes
- AkkaHttpSessionStore → SessionStore
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def get(context: AkkaHttpWebContext, key: String): Optional[AnyRef]
Get the object from its key in store.
Get the object from its key in store.
- context
the web context
- key
the key of the object
- returns
the optional object in store
- Definition Classes
- AkkaHttpSessionStore → SessionStore
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getOrCreateSessionId(context: AkkaHttpWebContext): String
Get or create the session identifier and initialize the session with it if necessary.
Get or create the session identifier and initialize the session with it if necessary.
- context
the web context
- returns
the session identifier
- Definition Classes
- AkkaHttpSessionStore → SessionStore
- def getTrackableSession(context: AkkaHttpWebContext): Optional[AnyRef]
Get the native session as a trackable object.
Get the native session as a trackable object.
- context
the web context
- returns
the optional trackable object
- Definition Classes
- AkkaHttpSessionStore → SessionStore
- 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(context: AkkaHttpWebContext): Boolean
Renew the native session by copying all data to a new one.
Renew the native session by copying all data to a new one.
- context
the web context
- returns
whether the session store has renewed the session
- Definition Classes
- AkkaHttpSessionStore → SessionStore
- def set(context: AkkaHttpWebContext, key: String, value: AnyRef): Unit
Save an object in the store by its key.
Save an object in the store by its key.
- context
the web context
- key
the key of the object
- value
the value to save in store
- Definition Classes
- AkkaHttpSessionStore → SessionStore
- 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