Class

play.api.libs.ws.ahc

AhcWSResponse

Related Doc: package ahc

Permalink

case class AhcWSResponse(ahcResponse: Response) extends WSResponse with Product with Serializable

A WS HTTP response.

Source
AhcWS.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, WSResponse, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AhcWSResponse
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WSResponse
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AhcWSResponse(ahcResponse: Response)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ahcResponse: Response

    Permalink
  5. lazy val allHeaders: Map[String, Seq[String]]

    Permalink

    Return the headers of the response as a case-insensitive map

    Return the headers of the response as a case-insensitive map

    Definition Classes
    AhcWSResponseWSResponse
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. lazy val body: String

    Permalink

    The response body as String.

    The response body as String.

    Definition Classes
    AhcWSResponseWSResponse
  8. def bodyAsBytes: ByteString

    Permalink

    The response body as a byte string.

    The response body as a byte string.

    Definition Classes
    AhcWSResponseWSResponse
    Annotations
    @throws( classOf[IOException] )
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cookie(name: String): Option[WSCookie]

    Permalink

    Get only one cookie, using the cookie name.

    Get only one cookie, using the cookie name.

    Definition Classes
    AhcWSResponseWSResponse
  11. def cookies: Seq[WSCookie]

    Permalink

    Get all the cookies.

    Get all the cookies.

    Definition Classes
    AhcWSResponseWSResponse
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def header(key: String): Option[String]

    Permalink

    Get a response header.

    Get a response header.

    Definition Classes
    AhcWSResponseWSResponse
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. lazy val json: JsValue

    Permalink

    The response body as Json.

    The response body as Json.

    Definition Classes
    AhcWSResponseWSResponse
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def status: Int

    Permalink

    The response status code.

    The response status code.

    Definition Classes
    AhcWSResponseWSResponse
  22. def statusText: String

    Permalink

    The response status message.

    The response status message.

    Definition Classes
    AhcWSResponseWSResponse
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AhcWSResponse → AnyRef → Any
  25. def underlying[T]: T

    Permalink

    returns

    The underlying response object.

    Definition Classes
    AhcWSResponseWSResponse
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. lazy val xml: Elem

    Permalink

    The response body as Xml.

    The response body as Xml.

    Definition Classes
    AhcWSResponseWSResponse

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WSResponse

Inherited from AnyRef

Inherited from Any

Ungrouped