Response

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

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

Companion
object
trait Serializable
trait Product
trait Equals
trait ResponseMetadata
trait HasHeaders
class Object
trait Matchable
class Any

Value members

Concrete methods

def show(includeBody: Boolean, includeHeaders: Boolean, sensitiveHeaders: Set[String]): String
override def toString: String
Definition Classes
ResponseMetadata -> Any

Inherited methods

def contentLength: Option[Long]
Inherited from
HasHeaders
def contentType: Option[String]
Inherited from
HasHeaders
def cookies: Seq[Either[String, CookieWithMeta]]
Inherited from
HasHeaders
def header(h: String): Option[String]
Inherited from
HasHeaders
def headers(h: String): Seq[String]
Inherited from
HasHeaders
def is200: Boolean
Inherited from
ResponseMetadata
def isClientError: Boolean
Inherited from
ResponseMetadata
def isRedirect: Boolean
Inherited from
ResponseMetadata
def isServerError: Boolean
Inherited from
ResponseMetadata
def isSuccess: Boolean
Inherited from
ResponseMetadata
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def unsafeCookies: Seq[CookieWithMeta]
Inherited from
HasHeaders