case class Response[T](body: T, code: StatusCode, statusText: String, headers: Seq[Header], history: List[Response[Unit]], request: RequestMetadata) extends ResponseMetadata with Product with Serializable

history

If redirects are followed, and there were redirects, contains responses for the intermediate requests. The first response (oldest) comes first.

Linear Supertypes
Serializable, Product, Equals, ResponseMetadata, HasHeaders, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Response
  2. Serializable
  3. Product
  4. Equals
  5. ResponseMetadata
  6. HasHeaders
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Response(body: T, code: StatusCode, statusText: String, headers: Seq[Header], history: List[Response[Unit]], request: RequestMetadata)

    history

    If redirects are followed, and there were redirects, contains responses for the intermediate requests. The first response (oldest) comes first.

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. val body: T
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. val code: StatusCode
    Definition Classes
    Response → ResponseMetadata
  8. def contentLength: Option[Long]
    Definition Classes
    HasHeaders
  9. def contentType: Option[String]
    Definition Classes
    HasHeaders
  10. def cookies: Seq[Either[String, CookieWithMeta]]
    Definition Classes
    HasHeaders
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def header(h: String): Option[String]
    Definition Classes
    HasHeaders
  14. def headers(h: String): Seq[String]
    Definition Classes
    HasHeaders
  15. val headers: Seq[Header]
    Definition Classes
    Response → HasHeaders
  16. val history: List[Response[Unit]]
  17. def is200: Boolean
    Definition Classes
    ResponseMetadata
  18. def isClientError: Boolean
    Definition Classes
    ResponseMetadata
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isRedirect: Boolean
    Definition Classes
    ResponseMetadata
  21. def isServerError: Boolean
    Definition Classes
    ResponseMetadata
  22. def isSuccess: Boolean
    Definition Classes
    ResponseMetadata
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. val request: RequestMetadata
  28. def show(includeBody: Boolean = true, includeHeaders: Boolean = true, sensitiveHeaders: Set[String] = HeaderNames.SensitiveHeaders): String
  29. val statusText: String
    Definition Classes
    Response → ResponseMetadata
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    Response → ResponseMetadata → AnyRef → Any
  32. def unsafeCookies: Seq[CookieWithMeta]
    Definition Classes
    HasHeaders
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ResponseMetadata

Inherited from HasHeaders

Inherited from AnyRef

Inherited from Any

Ungrouped