public class ResponseDecorated
extends io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>
implements io.restassured.response.Response
| Constructor and Description |
|---|
ResponseDecorated(io.restassured.response.Response core) |
| Modifier and Type | Method and Description |
|---|---|
io.restassured.response.Response |
andReturn() |
<T> T |
as(java.lang.Class<T> cls) |
<T> T |
as(java.lang.Class<T> cls,
io.restassured.mapper.ObjectMapper mapper) |
<T> T |
as(java.lang.Class<T> cls,
io.restassured.mapper.ObjectMapperType mapperType) |
byte[] |
asByteArray() |
java.io.InputStream |
asInputStream() |
java.lang.String |
asString() |
io.restassured.response.ResponseBody |
body() |
java.lang.String |
contentType() |
java.lang.String |
cookie(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String> |
cookies() |
io.restassured.http.Cookie |
detailedCookie(java.lang.String name) |
io.restassured.http.Cookies |
detailedCookies() |
io.restassured.response.ResponseBody |
getBody() |
java.lang.String |
getContentType() |
java.lang.String |
getCookie(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String> |
getCookies() |
io.restassured.http.Cookie |
getDetailedCookie(java.lang.String name) |
io.restassured.http.Cookies |
getDetailedCookies() |
java.lang.String |
getHeader(java.lang.String name) |
io.restassured.http.Headers |
getHeaders() |
java.lang.String |
getSessionId() |
int |
getStatusCode() |
java.lang.String |
getStatusLine() |
long |
getTime() |
long |
getTimeIn(java.util.concurrent.TimeUnit timeUnit) |
java.lang.String |
header(java.lang.String name) |
io.restassured.http.Headers |
headers() |
io.restassured.path.xml.XmlPath |
htmlPath() |
io.restassured.path.json.JsonPath |
jsonPath() |
io.restassured.path.json.JsonPath |
jsonPath(io.restassured.path.json.config.JsonPathConfig config) |
<T> T |
path(java.lang.String path,
java.lang.String... arguments) |
io.restassured.response.Response |
peek() |
io.restassured.response.Response |
prettyPeek() |
java.lang.String |
prettyPrint() |
java.lang.String |
print() |
java.lang.String |
sessionId() |
int |
statusCode() |
java.lang.String |
statusLine() |
io.restassured.response.ValidatableResponse |
then() |
io.restassured.response.Response |
thenReturn() |
long |
time() |
long |
timeIn(java.util.concurrent.TimeUnit timeUnit) |
io.restassured.path.xml.XmlPath |
xmlPath() |
io.restassured.path.xml.XmlPath |
xmlPath(io.restassured.path.xml.XmlPath.CompatibilityMode compatibilityMode) |
io.restassured.path.xml.XmlPath |
xmlPath(io.restassured.path.xml.config.XmlPathConfig config) |
asString, getConfig, getConnectionManager, getContent, getDecoderConfig, getDefaultContentType, getFilterContextProperties, getGroovyResponse, getHasExpectations, getLogRepository, getResponseHeaders, getRpr, getSessionIdName, isInputStream, response, setConfig, setConnectionManager, setContent, setContentType, setCookies, setDecoderConfig, setDefaultContentType, setFilterContextProperties, setGroovyResponse, setHasExpectations, setLogRepository, setResponseHeaders, setRpr, setSessionIdName, setStatusCode, setStatusLinepublic ResponseDecorated(io.restassured.response.Response core)
public io.restassured.response.ValidatableResponse then()
then in interface io.restassured.response.Validatable<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public java.lang.String print()
print in interface io.restassured.response.ResponseBody<io.restassured.response.Response>print in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String prettyPrint()
prettyPrint in interface io.restassured.response.ResponseBody<io.restassured.response.Response>prettyPrint in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.response.Response peek()
peek in interface io.restassured.response.ResponseBody<io.restassured.response.Response>peek in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.response.Response prettyPeek()
prettyPeek in interface io.restassured.response.ResponseBody<io.restassured.response.Response>prettyPeek in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public <T> T as(java.lang.Class<T> cls)
as in interface io.restassured.response.ResponseBodyExtractionOptionsas in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public <T> T as(java.lang.Class<T> cls,
io.restassured.mapper.ObjectMapperType mapperType)
as in interface io.restassured.response.ResponseBodyExtractionOptionsas in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public <T> T as(java.lang.Class<T> cls,
io.restassured.mapper.ObjectMapper mapper)
as in interface io.restassured.response.ResponseBodyExtractionOptionsas in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.path.json.JsonPath jsonPath()
jsonPath in interface io.restassured.response.ResponseBodyExtractionOptionsjsonPath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.path.json.JsonPath jsonPath(io.restassured.path.json.config.JsonPathConfig config)
jsonPath in interface io.restassured.response.ResponseBodyExtractionOptionsjsonPath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.path.xml.XmlPath xmlPath()
xmlPath in interface io.restassured.response.ResponseBodyExtractionOptionsxmlPath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.path.xml.XmlPath xmlPath(io.restassured.path.xml.config.XmlPathConfig config)
xmlPath in interface io.restassured.response.ResponseBodyExtractionOptionsxmlPath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.path.xml.XmlPath xmlPath(io.restassured.path.xml.XmlPath.CompatibilityMode compatibilityMode)
xmlPath in interface io.restassured.response.ResponseBodyExtractionOptionsxmlPath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.path.xml.XmlPath htmlPath()
htmlPath in interface io.restassured.response.ResponseBodyExtractionOptionshtmlPath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public <T> T path(java.lang.String path,
java.lang.String... arguments)
path in interface io.restassured.response.ResponseBodyExtractionOptionspath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String asString()
asString in interface io.restassured.response.ResponseBodyDataasString in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public byte[] asByteArray()
asByteArray in interface io.restassured.response.ResponseBodyDataasByteArray in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.io.InputStream asInputStream()
asInputStream in interface io.restassured.response.ResponseBodyDataasInputStream in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.response.Response andReturn()
andReturn in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>andReturn in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.response.Response thenReturn()
thenReturn in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>thenReturn in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.response.ResponseBody body()
body in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>body in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>body in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.response.ResponseBody getBody()
getBody in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getBody in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.http.Headers headers()
headers in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>headers in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>headers in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.http.Headers getHeaders()
getHeaders in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getHeaders in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String header(java.lang.String name)
header in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>header in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>header in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String getHeader(java.lang.String name)
getHeader in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getHeader in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.util.Map<java.lang.String,java.lang.String> cookies()
cookies in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>cookies in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>cookies in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.http.Cookies detailedCookies()
detailedCookies in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>detailedCookies in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>detailedCookies in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.util.Map<java.lang.String,java.lang.String> getCookies()
getCookies in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getCookies in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.http.Cookies getDetailedCookies()
getDetailedCookies in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getDetailedCookies in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String cookie(java.lang.String name)
cookie in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>cookie in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>cookie in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String getCookie(java.lang.String name)
getCookie in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getCookie in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.http.Cookie detailedCookie(java.lang.String name)
detailedCookie in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>detailedCookie in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>detailedCookie in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public io.restassured.http.Cookie getDetailedCookie(java.lang.String name)
getDetailedCookie in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getDetailedCookie in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String contentType()
contentType in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>contentType in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>contentType in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String getContentType()
getContentType in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getContentType in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String statusLine()
statusLine in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>statusLine in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>statusLine in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String getStatusLine()
getStatusLine in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getStatusLine in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String sessionId()
sessionId in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>sessionId in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>sessionId in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public java.lang.String getSessionId()
getSessionId in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getSessionId in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public int statusCode()
statusCode in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>statusCode in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>statusCode in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public int getStatusCode()
getStatusCode in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getStatusCode in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public long time()
time in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>time in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>time in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public long timeIn(java.util.concurrent.TimeUnit timeUnit)
timeIn in interface io.restassured.response.ExtractableResponse<io.restassured.response.Response>timeIn in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>timeIn in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public long getTime()
getTime in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getTime in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public long getTimeIn(java.util.concurrent.TimeUnit timeUnit)
getTimeIn in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getTimeIn in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>