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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Response
- Serializable
- Serializable
- Product
- Equals
- ResponseMetadata
- HasHeaders
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val body: T
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
code: StatusCode
- Definition Classes
- Response → ResponseMetadata
-
def
contentLength: Option[Long]
- Definition Classes
- HasHeaders
-
def
contentType: Option[String]
- Definition Classes
- HasHeaders
-
def
cookies: Seq[Either[String, CookieWithMeta]]
- Definition Classes
- HasHeaders
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
header(h: String): Option[String]
- Definition Classes
- HasHeaders
-
def
headers(h: String): Seq[String]
- Definition Classes
- HasHeaders
-
val
headers: Seq[Header]
- Definition Classes
- Response → HasHeaders
- val history: List[Response[Unit]]
-
def
is200: Boolean
- Definition Classes
- ResponseMetadata
-
def
isClientError: Boolean
- Definition Classes
- ResponseMetadata
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isRedirect: Boolean
- Definition Classes
- ResponseMetadata
-
def
isServerError: Boolean
- Definition Classes
- ResponseMetadata
-
def
isSuccess: Boolean
- Definition Classes
- ResponseMetadata
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val request: RequestMetadata
- def show(includeBody: Boolean = true, includeHeaders: Boolean = true, sensitiveHeaders: Set[String] = HeaderNames.SensitiveHeaders): String
-
val
statusText: String
- Definition Classes
- Response → ResponseMetadata
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Response → ResponseMetadata → AnyRef → Any
-
def
unsafeCookies: Seq[CookieWithMeta]
- Definition Classes
- HasHeaders
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated