com
.
stackmob
.
newman
.
response
HttpResponse
case class
HttpResponse
(
code:
HttpResponseCode
,
headers:
Headers
,
rawBody:
RawBody
,
timeReceived:
Date
=
new java.util.Date()
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
HttpResponse
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
HttpResponse
(
code:
HttpResponseCode
,
headers:
Headers
,
rawBody:
RawBody
,
timeReceived:
Date
=
new java.util.Date()
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
bodyAs
[
T
]
(
implicit
reader:
net.liftweb.json.scalaz.JsonScalaz.JSONR
[
T
]
,
m:
Manifest
[
T
]
,
charset:
Charset
=
UTF8Charset
)
:
net.liftweb.json.scalaz.JsonScalaz.Result
[
T
]
def
bodyAsCaseClass
[
T <:
AnyRef
]
(
implicit
m:
Manifest
[
T
]
,
charset:
Charset
=
UTF8Charset
)
:
net.liftweb.json.scalaz.JsonScalaz.Result
[
T
]
def
bodyAsIfResponseCode
[
T
]
(
expected:
HttpResponseCode
)
(
implicit
reader:
net.liftweb.json.scalaz.JsonScalaz.JSONR
[
T
]
,
m:
Manifest
[
T
]
,
charset:
Charset
=
UTF8Charset
)
:
newman.ThrowableValidation
[
T
]
def
bodyAsIfResponseCode
[
T
]
(
expected:
HttpResponseCode
,
decoder: (
HttpResponse
) ⇒
newman.ThrowableValidation
[
T
]
)
:
newman.ThrowableValidation
[
T
]
def
bodyString
(
implicit
charset:
Charset
=
UTF8Charset
)
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
code
:
HttpResponseCode
lazy val
eTag
:
Option
[
String
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
headers
:
Headers
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
lazy val
notModified
:
Boolean
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
rawBody
:
RawBody
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
timeReceived
:
Date
def
toJValue
(
implicit
charset:
Charset
=
UTF8Charset
)
:
JValue
def
toJson
(
prettyPrint:
Boolean
=
false
)
(
implicit
charset:
Charset
=
UTF8Charset
)
:
String
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped