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(Class<T> cls) |
<T> T |
as(Class<T> cls,
io.restassured.mapper.ObjectMapper mapper) |
<T> T |
as(Class<T> cls,
io.restassured.mapper.ObjectMapperType mapperType) |
<T> T |
as(Type cls) |
<T> T |
as(Type cls,
io.restassured.mapper.ObjectMapper mapper) |
<T> T |
as(Type cls,
io.restassured.mapper.ObjectMapperType mapperType) |
<T> T |
as(io.restassured.common.mapper.TypeRef<T> typeRef) |
byte[] |
asByteArray() |
InputStream |
asInputStream() |
String |
asString() |
io.restassured.response.ResponseBody |
body() |
String |
contentType() |
String |
cookie(String name) |
Map<String,String> |
cookies() |
io.restassured.http.Cookie |
detailedCookie(String name) |
io.restassured.http.Cookies |
detailedCookies() |
io.restassured.response.ResponseBody |
getBody() |
String |
getContentType() |
String |
getCookie(String name) |
Map<String,String> |
getCookies() |
io.restassured.http.Cookie |
getDetailedCookie(String name) |
io.restassured.http.Cookies |
getDetailedCookies() |
String |
getHeader(String name) |
io.restassured.http.Headers |
getHeaders() |
String |
getSessionId() |
int |
getStatusCode() |
String |
getStatusLine() |
long |
getTime() |
long |
getTimeIn(TimeUnit timeUnit) |
String |
header(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(String path,
String... arguments) |
io.restassured.response.Response |
peek() |
io.restassured.response.Response |
prettyPeek() |
String |
prettyPrint() |
String |
print() |
String |
sessionId() |
int |
statusCode() |
String |
statusLine() |
io.restassured.response.ValidatableResponse |
then() |
io.restassured.response.Response |
thenReturn() |
long |
time() |
long |
timeIn(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) |
asPrettyString, 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 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 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(Class<T> cls)
as in interface io.restassured.response.ResponseBodyExtractionOptionsas in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public <T> T as(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(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 <T> T as(io.restassured.common.mapper.TypeRef<T> typeRef)
as in interface io.restassured.response.ResponseBodyExtractionOptionsas in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public <T> T as(Type cls)
as in interface io.restassured.response.ResponseBodyExtractionOptionsas in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public <T> T as(Type 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(Type 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(String path, String... arguments)
path in interface io.restassured.response.ResponseBodyExtractionOptionspath in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>public 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 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 String header(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 String getHeader(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 Map<String,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 Map<String,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 String cookie(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 String getCookie(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(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(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 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 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 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 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 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 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(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(TimeUnit timeUnit)
getTimeIn in interface io.restassured.response.ResponseOptions<io.restassured.response.Response>getTimeIn in class io.restassured.internal.RestAssuredResponseOptionsImpl<io.restassured.response.Response>Copyright © 2023. All rights reserved.