public class ValidatableResponseStub
extends java.lang.Object
implements io.restassured.response.ValidatableResponse
| Constructor and Description |
|---|
ValidatableResponseStub() |
| Modifier and Type | Method and Description |
|---|---|
io.restassured.response.ValidatableResponse |
and() |
io.restassured.response.ValidatableResponse |
appendRoot(java.lang.String pathToAppend) |
io.restassured.response.ValidatableResponse |
appendRoot(java.lang.String pathToAppend,
java.util.List<io.restassured.specification.Argument> arguments) |
io.restassured.response.ValidatableResponse |
assertThat() |
io.restassured.response.ValidatableResponse |
body(java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
body(java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
body(org.hamcrest.Matcher<?> matcher,
org.hamcrest.Matcher<?>... additionalMatchers) |
io.restassured.response.ValidatableResponse |
body(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
body(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
body(java.lang.String path,
org.hamcrest.Matcher<?> matcher,
java.lang.Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
body(java.lang.String path,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
content(java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
content(java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
content(org.hamcrest.Matcher<?> matcher,
org.hamcrest.Matcher<?>... additionalMatchers) |
io.restassured.response.ValidatableResponse |
content(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
content(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
content(java.lang.String key,
org.hamcrest.Matcher<?> matcher,
java.lang.Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
content(java.lang.String path,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
contentType(io.restassured.http.ContentType contentType) |
io.restassured.response.ValidatableResponse |
contentType(org.hamcrest.Matcher<? super java.lang.String> contentType) |
io.restassured.response.ValidatableResponse |
contentType(java.lang.String contentType) |
io.restassured.response.ValidatableResponse |
cookie(java.lang.String cookieName) |
io.restassured.response.ValidatableResponse |
cookie(java.lang.String cookieName,
org.hamcrest.Matcher<?> expectedValueMatcher) |
io.restassured.response.ValidatableResponse |
cookie(java.lang.String cookieName,
java.lang.Object expectedValue) |
io.restassured.response.ValidatableResponse |
cookies(java.util.Map<java.lang.String,?> expectedCookies) |
io.restassured.response.ValidatableResponse |
cookies(java.lang.String firstExpectedCookieName,
java.lang.Object firstExpectedCookieValue,
java.lang.Object... expectedCookieNameValuePairs) |
io.restassured.response.ValidatableResponse |
defaultParser(io.restassured.parsing.Parser parser) |
io.restassured.response.ValidatableResponse |
detachRoot(java.lang.String pathToDetach) |
io.restassured.response.ExtractableResponse<io.restassured.response.Response> |
extract() |
io.restassured.response.ValidatableResponse |
header(java.lang.String headerName,
org.hamcrest.Matcher<?> expectedValueMatcher) |
io.restassured.response.ValidatableResponse |
header(java.lang.String s,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
<V> io.restassured.response.ValidatableResponse |
header(java.lang.String s,
io.restassured.function.RestAssuredFunction<java.lang.String,V> restAssuredFunction,
org.hamcrest.Matcher<? super V> matcher) |
io.restassured.response.ValidatableResponse |
header(java.lang.String headerName,
java.lang.String expectedValue) |
io.restassured.response.ValidatableResponse |
headers(java.util.Map<java.lang.String,?> expectedHeaders) |
io.restassured.response.ValidatableResponse |
headers(java.lang.String firstExpectedHeaderName,
java.lang.Object firstExpectedHeaderValue,
java.lang.Object... expectedHeaders) |
io.restassured.response.ValidatableResponseLogSpec<io.restassured.response.ValidatableResponse,io.restassured.response.Response> |
log() |
io.restassured.response.ValidatableResponse |
noRoot() |
io.restassured.response.ValidatableResponse |
noRootPath() |
io.restassured.response.ValidatableResponse |
parser(java.lang.String contentType,
io.restassured.parsing.Parser parser) |
io.restassured.response.ValidatableResponse |
root(java.lang.String rootPath) |
io.restassured.response.ValidatableResponse |
root(java.lang.String rootPath,
java.util.List<io.restassured.specification.Argument> arguments) |
io.restassured.response.ValidatableResponse |
rootPath(java.lang.String rootPath) |
io.restassured.response.ValidatableResponse |
rootPath(java.lang.String rootPath,
java.util.List<io.restassured.specification.Argument> arguments) |
io.restassured.response.ValidatableResponse |
spec(io.restassured.specification.ResponseSpecification responseSpecificationToMerge) |
io.restassured.response.ValidatableResponse |
specification(io.restassured.specification.ResponseSpecification responseSpecificationToMerge) |
io.restassured.response.ValidatableResponse |
statusCode(int expectedStatusCode) |
io.restassured.response.ValidatableResponse |
statusCode(org.hamcrest.Matcher<? super java.lang.Integer> expectedStatusCode) |
io.restassured.response.ValidatableResponse |
statusLine(org.hamcrest.Matcher<? super java.lang.String> expectedStatusLine) |
io.restassured.response.ValidatableResponse |
statusLine(java.lang.String expectedStatusLine) |
io.restassured.response.ValidatableResponse |
time(org.hamcrest.Matcher<java.lang.Long> matcher) |
io.restassured.response.ValidatableResponse |
time(org.hamcrest.Matcher<java.lang.Long> matcher,
java.util.concurrent.TimeUnit timeUnit) |
io.restassured.response.ValidatableResponse |
using() |
public io.restassured.response.ValidatableResponse content(org.hamcrest.Matcher<?> matcher,
org.hamcrest.Matcher<?>... additionalMatchers)
content in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse content(java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs)
content in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse content(java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher)
content in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse content(java.lang.String key,
org.hamcrest.Matcher<?> matcher,
java.lang.Object... additionalKeyMatcherPairs)
content in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse statusCode(org.hamcrest.Matcher<? super java.lang.Integer> expectedStatusCode)
statusCode in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse statusCode(int expectedStatusCode)
statusCode in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse statusLine(org.hamcrest.Matcher<? super java.lang.String> expectedStatusLine)
statusLine in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse statusLine(java.lang.String expectedStatusLine)
statusLine in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse headers(java.util.Map<java.lang.String,?> expectedHeaders)
headers in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse headers(java.lang.String firstExpectedHeaderName,
java.lang.Object firstExpectedHeaderValue,
java.lang.Object... expectedHeaders)
headers in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse header(java.lang.String headerName,
org.hamcrest.Matcher<?> expectedValueMatcher)
header in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse header(java.lang.String s,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher)
header in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public <V> io.restassured.response.ValidatableResponse header(java.lang.String s,
io.restassured.function.RestAssuredFunction<java.lang.String,V> restAssuredFunction,
org.hamcrest.Matcher<? super V> matcher)
header in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse header(java.lang.String headerName,
java.lang.String expectedValue)
header in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookies(java.util.Map<java.lang.String,?> expectedCookies)
cookies in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookie(java.lang.String cookieName)
cookie in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookies(java.lang.String firstExpectedCookieName,
java.lang.Object firstExpectedCookieValue,
java.lang.Object... expectedCookieNameValuePairs)
cookies in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookie(java.lang.String cookieName,
org.hamcrest.Matcher<?> expectedValueMatcher)
cookie in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookie(java.lang.String cookieName,
java.lang.Object expectedValue)
cookie in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse rootPath(java.lang.String rootPath)
rootPath in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse rootPath(java.lang.String rootPath,
java.util.List<io.restassured.specification.Argument> arguments)
rootPath in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse root(java.lang.String rootPath,
java.util.List<io.restassured.specification.Argument> arguments)
root in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse root(java.lang.String rootPath)
root in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse noRoot()
noRoot in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse noRootPath()
noRootPath in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse appendRoot(java.lang.String pathToAppend)
appendRoot in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse appendRoot(java.lang.String pathToAppend,
java.util.List<io.restassured.specification.Argument> arguments)
appendRoot in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse detachRoot(java.lang.String pathToDetach)
detachRoot in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse contentType(io.restassured.http.ContentType contentType)
contentType in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse contentType(java.lang.String contentType)
contentType in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse contentType(org.hamcrest.Matcher<? super java.lang.String> contentType)
contentType in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(org.hamcrest.Matcher<?> matcher,
org.hamcrest.Matcher<?>... additionalMatchers)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(java.lang.String path,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(java.lang.String path,
org.hamcrest.Matcher<?> matcher,
java.lang.Object... additionalKeyMatcherPairs)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse content(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
java.lang.Object... additionalKeyMatcherPairs)
content in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse content(java.lang.String path,
java.util.List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher)
content in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse content(java.lang.String path,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher)
content in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse and()
and in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse using()
using in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse assertThat()
assertThat in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse spec(io.restassured.specification.ResponseSpecification responseSpecificationToMerge)
spec in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse specification(io.restassured.specification.ResponseSpecification responseSpecificationToMerge)
specification in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse parser(java.lang.String contentType,
io.restassured.parsing.Parser parser)
parser in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse defaultParser(io.restassured.parsing.Parser parser)
defaultParser in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ExtractableResponse<io.restassured.response.Response> extract()
extract in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponseLogSpec<io.restassured.response.ValidatableResponse,io.restassured.response.Response> log()
log in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse time(org.hamcrest.Matcher<java.lang.Long> matcher)
time in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse time(org.hamcrest.Matcher<java.lang.Long> matcher,
java.util.concurrent.TimeUnit timeUnit)
time in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>