Packages

trait ScalatraContext extends ServletApiImplicits with SessionSupport with CookieContext

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalatraContext
  2. CookieContext
  3. SessionSupport
  4. ServletApiImplicits
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def request: HttpServletRequest
  2. implicit abstract def response: HttpServletResponse
  3. abstract def servletContext: ServletContext

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def contentType: String

    Gets the content type of the current response.

  7. def contentType_=(contentType: String): Unit

    Sets the content type of the current response.

  8. implicit def cookieOptions: CookieOptions
    Definition Classes
    CookieContext
  9. def cookies(implicit request: HttpServletRequest): SweetCookies
    Definition Classes
    CookieContext
  10. implicit def enrichRequest(request: HttpServletRequest): RichRequest
    Definition Classes
    ServletApiImplicits
  11. implicit def enrichResponse(response: HttpServletResponse): RichResponse
    Definition Classes
    ServletApiImplicits
  12. implicit def enrichServletContext(servletContext: ServletContext): RichServletContext
    Definition Classes
    ServletApiImplicits
  13. implicit def enrichSession(session: HttpSession): RichSession
    Definition Classes
    ServletApiImplicits
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def format_=(formatValue: String): Unit

    Explicitly sets the request-scoped format.

    Explicitly sets the request-scoped format. This takes precedence over whatever was inferred from the request.

  18. def format_=(formatValue: Symbol): Unit

    Explicitly sets the request-scoped format.

    Explicitly sets the request-scoped format. This takes precedence over whatever was inferred from the request.

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. implicit def scalatraContext: ScalatraContext
    Attributes
    protected[this]
  26. def session(key: Symbol)(implicit request: HttpServletRequest): Any
    Definition Classes
    SessionSupport
  27. def session(key: String)(implicit request: HttpServletRequest): Any
    Definition Classes
    SessionSupport
  28. implicit def session(implicit request: HttpServletRequest): HttpSession

    The current session.

    The current session. Creates a session if none exists.

    Definition Classes
    SessionSupport
  29. def sessionOption(implicit request: HttpServletRequest): Option[HttpSession]

    The current session.

    The current session. If none exists, None is returned.

    Definition Classes
    SessionSupport
  30. def status: Int

    Gets the status code of the current response.

  31. def status_=(code: Int): Unit

    Sets the status code of the current response.

  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def status(code: Int): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Use status_=(Int) instead

Inherited from CookieContext

Inherited from SessionSupport

Inherited from ServletApiImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped