case class Context(settings: SystemSettings, loginAccount: Option[Account], request: HttpServletRequest) extends Product with Serializable

Context object for the current request.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Context
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Context(settings: SystemSettings, loginAccount: Option[Account], request: HttpServletRequest)

Value Members

  1. val baseUrl: String
  2. def cache[A](key: String)(action: ⇒ A): A

    Get object from cache.

    Get object from cache.

    If object has not been cached with the specified key then retrieves by given action. Cached object are available during a request.

  3. val currentPath: String
  4. val host: String
  5. val loginAccount: Option[Account]
  6. val path: String
  7. val platform: String
  8. val request: HttpServletRequest
  9. val settings: SystemSettings
  10. val sidebarCollapse: Boolean