play.api.mvc

WrappedRequest

class WrappedRequest [A] extends Request[A]

Wrap an existing request. Useful to extend a request.

Linear Supertypes
Request[A], RequestHeader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. WrappedRequest
  2. Request
  3. RequestHeader
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WrappedRequest (request: Request[A])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. lazy val accept : Seq[String]

    returns

    The media types set in the request Accept header, not sorted in any particular order.

    Definition Classes
    RequestHeader
  7. lazy val acceptLanguages : Seq[Lang]

    The Request Langs, extracted from the Accept-Language header.

    The Request Langs, extracted from the Accept-Language header.

    Definition Classes
    RequestHeader
  8. def accepts (mediaType: String): Boolean

    Check if this request accepts a given media type.

    Check if this request accepts a given media type.

    Definition Classes
    RequestHeader
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def body : A

    The body content.

    The body content.

    Definition Classes
    WrappedRequestRequest
  11. lazy val charset : Option[String]

    Returns the charset of the request for text-based body

    Returns the charset of the request for text-based body

    Definition Classes
    RequestHeader
  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. lazy val contentType : Option[String]

    Returns the value of the Content-Type header (without the ;charset= part if exists)

    Returns the value of the Content-Type header (without the ;charset= part if exists)

    Definition Classes
    RequestHeader
  14. lazy val cookies : Cookies

    The HTTP cookies.

    The HTTP cookies.

    Definition Classes
    RequestHeader
  15. lazy val domain : String

    The HTTP domain

    The HTTP domain

    Definition Classes
    RequestHeader
  16. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. lazy val flash : Flash

    Parses the Flash cookie and returns the Flash data.

    Parses the Flash cookie and returns the Flash data.

    Definition Classes
    RequestHeader
  20. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  22. def headers : Headers

    The HTTP headers.

    The HTTP headers.

    Definition Classes
    WrappedRequestRequestHeader
  23. lazy val host : String

    The HTTP host (domain, optionally port)

    The HTTP host (domain, optionally port)

    Definition Classes
    RequestHeader
  24. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  25. def map [B] (f: (A) ⇒ B): Request[B]

    Transform the request body.

    Transform the request body.

    Definition Classes
    Request
  26. def method : String

    The HTTP method.

    The HTTP method.

    Definition Classes
    WrappedRequestRequestHeader
  27. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def path : String

    The URI path.

    The URI path.

    Definition Classes
    WrappedRequestRequestHeader
  31. def queryString : Map[String, Seq[String]]

    The parsed query string.

    The parsed query string.

    Definition Classes
    WrappedRequestRequestHeader
  32. lazy val rawQueryString : String

    Returns the raw query string.

    Returns the raw query string.

    Definition Classes
    RequestHeader
  33. def remoteAddress : String

    The client IP address.

    The client IP address.

    Definition Classes
    WrappedRequestRequestHeader
  34. lazy val session : Session

    Parses the Session cookie and returns the Session data.

    Parses the Session cookie and returns the Session data.

    Definition Classes
    RequestHeader
  35. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  36. def toString (): String

    Definition Classes
    RequestHeader → AnyRef → Any
  37. def uri : String

    The complete request URI, containing both path and query string.

    The complete request URI, containing both path and query string.

    Definition Classes
    WrappedRequestRequestHeader
  38. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Request[A]

Inherited from RequestHeader

Inherited from AnyRef

Inherited from Any