play.api.mvc

Request

trait Request [+A] extends RequestHeader

The complete HTTP request.

A

the body content type.

Self Type
Request[A]
Annotations
@implicitNotFound( "Cannot find any HTTP Request here" )
Linear Supertypes
RequestHeader, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Request
  2. RequestHeader
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def body : A

    The body content.

    The body content.

    Attributes
    abstract
  2. def headers : Headers

    The HTTP headers.

    The HTTP headers.

    Attributes
    abstract
    Definition Classes
    RequestHeader
  3. def method : String

    The HTTP method.

    The HTTP method.

    Attributes
    abstract
    Definition Classes
    RequestHeader
  4. def path : String

    The URI path.

    The URI path.

    Attributes
    abstract
    Definition Classes
    RequestHeader
  5. def queryString : Map[String, Seq[String]]

    The parsed query string.

    The parsed query string.

    Attributes
    abstract
    Definition Classes
    RequestHeader
  6. def remoteAddress : String

    The client IP address.

    The client IP address.

    Attributes
    abstract
    Definition Classes
    RequestHeader
  7. def uri : String

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

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

    Attributes
    abstract
    Definition Classes
    RequestHeader

Concrete 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. 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
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. 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
  13. lazy val cookies : Cookies

    The HTTP cookies.

    The HTTP cookies.

    Definition Classes
    RequestHeader
  14. lazy val domain : String

    The HTTP domain

    The HTTP domain

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. 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
  19. def getClass (): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  21. lazy val host : String

    The HTTP host (domain, optionally port)

    The HTTP host (domain, optionally port)

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

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

    Transform the request body.

  24. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  27. lazy val rawQueryString : String

    Returns the raw query string.

    Returns the raw query string.

    Definition Classes
    RequestHeader
  28. 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
  29. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    RequestHeader → AnyRef → Any
  31. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from RequestHeader

Inherited from AnyRef

Inherited from Any