class LruSessionStore extends ServerSessionStore
Config in xitrum.conf:
xitrum { session { store { "xitrum.local.LruSessionStore" { maxElems = 10000 } } } }
- Alphabetic
- By Inheritance
- LruSessionStore
- ServerSessionStore
- SessionStore
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LruSessionStore()
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])
- def get(sessionId: String): Option[Map[String, Any]]
To be implemented by server side session store implementations
To be implemented by server side session store implementations
- Definition Classes
- LruSessionStore → ServerSessionStore
- 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 put(sessionId: String, immutableMap: Map[String, Any]): Unit
To be implemented by server side session store implementations
To be implemented by server side session store implementations
- Definition Classes
- LruSessionStore → ServerSessionStore
- def remove(sessionId: String): Unit
To be implemented by server side session store implementations
To be implemented by server side session store implementations
- Definition Classes
- LruSessionStore → ServerSessionStore
- 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 start(): Unit
- Definition Classes
- LruSessionStore → SessionStore
- def stop(): Unit
- Definition Classes
- LruSessionStore → 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()