Packages

  • package root
    Definition Classes
    root
  • package xitrum

    Things that are usually used by application developers are put in this package for convenience, because when they want to use XXX, they can simply write:

    Things that are usually used by application developers are put in this package for convenience, because when they want to use XXX, they can simply write:

    import xitrum.XXX

    To avoid polluting this namespace, things that are utilities should be put in package xitrum.util, not here.

    Annotations and validators are put to package xitrum.annation and xitrum.validator because there are many of them. It's better for application developers to write:

    import xitrum.annotation._
    import xitrum.validator._
    Definition Classes
    root
  • package scope
    Definition Classes
    xitrum
  • package request
    Definition Classes
    scope
  • package session
    Definition Classes
    scope
  • CookieSessionStore
  • Csrf
  • ServerSession
  • ServerSessionStore
  • SessionEnv
  • SessionStore
p

xitrum.scope

session

package session

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. session
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class CookieSessionStore extends SessionStore

    Compress big session cookie to try to avoid the 4KB limit.

  2. trait Csrf extends AnyRef
  3. class ServerSession extends HashMap[String, Any]

  4. trait ServerSessionStore extends SessionStore

    For convenience, server side session store implementations should base on this trait.

    For convenience, server side session store implementations should base on this trait. It handles storing and restoring session ID in cookie for you.

  5. type Session = Map[String, Any]
  6. trait SessionEnv extends Csrf
  7. trait SessionStore extends AnyRef

Value Members

  1. object Csrf

    SeriDeseri's to/fromSecureUrlSafeBase64 is for preventing a user to mess with his own data to cheat the server.

    SeriDeseri's to/fromSecureUrlSafeBase64 is for preventing a user to mess with his own data to cheat the server. CSRF is for preventing a user to fake other user's data.

Inherited from AnyRef

Inherited from Any

Ungrouped