play.api.mvc

RequestHeader

trait RequestHeader extends AnyRef

The HTTP request header. Note that it doesn’t contain the request body yet.

Annotations
@implicitNotFound( ... )
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RequestHeader
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def headers : Headers

    The HTTP headers.

    The HTTP headers.

    Attributes
    abstract
  2. def method : String

    The HTTP method.

    The HTTP method.

    Attributes
    abstract
  3. def path : String

    The URI path.

    The URI path.

    Attributes
    abstract
  4. def queryString : Map[String, Seq[String]]

    The parsed query string.

    The parsed query string.

    Attributes
    abstract
  5. def remoteAddress : String

    The client IP address.

    The client IP address.

    Attributes
    abstract
  6. 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

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.

  7. lazy val acceptLanguages : Seq[Lang]

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

  8. def accepts (mediaType: String): Boolean

    Check if this request accepts a given media type.

  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

  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)

  13. lazy val cookies : Cookies

    The HTTP cookies.

  14. lazy val domain : String

    The HTTP domain

  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.

  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)

  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def ne (arg0: AnyRef): Boolean

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

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

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

    Returns the raw query string.

  27. lazy val session : Session

    Parses the Session cookie and returns the Session data.

  28. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any