case class Context(settings: SystemSettings, loginAccount: Option[Account], request: HttpServletRequest) extends Product with Serializable
Context object for the current request.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Context(settings: SystemSettings, loginAccount: Option[Account], request: HttpServletRequest)
Value Members
- val baseUrl: String
-
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.
- val currentPath: String
- val host: String
- val loginAccount: Option[Account]
- val path: String
- val platform: String
- val request: HttpServletRequest
- val settings: SystemSettings
- val sidebarCollapse: Boolean