public class ValidatableResponseStub extends 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(String pathToAppend) |
io.restassured.response.ValidatableResponse |
appendRoot(String pathToAppend,
List<io.restassured.specification.Argument> arguments) |
io.restassured.response.ValidatableResponse |
appendRootPath(String pathToAppend) |
io.restassured.response.ValidatableResponse |
appendRootPath(String pathToAppend,
List<io.restassured.specification.Argument> arguments) |
io.restassured.response.ValidatableResponse |
assertThat() |
io.restassured.response.ValidatableResponse |
body(List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
body(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(String path,
List<io.restassured.specification.Argument> arguments,
org.hamcrest.Matcher matcher,
Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
body(String path,
List<io.restassured.specification.Argument> arguments,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
body(String path,
org.hamcrest.Matcher<?> matcher,
Object... additionalKeyMatcherPairs) |
io.restassured.response.ValidatableResponse |
body(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 String> contentType) |
io.restassured.response.ValidatableResponse |
contentType(String contentType) |
io.restassured.response.ValidatableResponse |
cookie(String cookieName) |
io.restassured.response.ValidatableResponse |
cookie(String cookieName,
io.restassured.matcher.DetailedCookieMatcher detailedCookieMatcher) |
io.restassured.response.ValidatableResponse |
cookie(String cookieName,
org.hamcrest.Matcher<?> expectedValueMatcher) |
io.restassured.response.ValidatableResponse |
cookie(String cookieName,
Object expectedValue) |
io.restassured.response.ValidatableResponse |
cookies(Map<String,?> expectedCookies) |
io.restassured.response.ValidatableResponse |
cookies(String firstExpectedCookieName,
Object firstExpectedCookieValue,
Object... expectedCookieNameValuePairs) |
io.restassured.response.ValidatableResponse |
defaultParser(io.restassured.parsing.Parser parser) |
io.restassured.response.ValidatableResponse |
detachRoot(String pathToDetach) |
io.restassured.response.ValidatableResponse |
detachRootPath(String pathToDetach) |
io.restassured.response.ExtractableResponse<io.restassured.response.Response> |
extract() |
<V> io.restassured.response.ValidatableResponse |
header(String s,
Function<String,V> restAssuredFunction,
org.hamcrest.Matcher<? super V> matcher) |
io.restassured.response.ValidatableResponse |
header(String headerName,
org.hamcrest.Matcher<?> expectedValueMatcher) |
io.restassured.response.ValidatableResponse |
header(String s,
io.restassured.matcher.ResponseAwareMatcher<io.restassured.response.Response> responseAwareMatcher) |
io.restassured.response.ValidatableResponse |
header(String headerName,
String expectedValue) |
io.restassured.response.ValidatableResponse |
headers(Map<String,?> expectedHeaders) |
io.restassured.response.ValidatableResponse |
headers(String firstExpectedHeaderName,
Object firstExpectedHeaderValue,
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(String contentType,
io.restassured.parsing.Parser parser) |
io.restassured.response.ValidatableResponse |
root(String rootPath) |
io.restassured.response.ValidatableResponse |
root(String rootPath,
List<io.restassured.specification.Argument> arguments) |
io.restassured.response.ValidatableResponse |
rootPath(String rootPath) |
io.restassured.response.ValidatableResponse |
rootPath(String rootPath,
List<io.restassured.specification.Argument> arguments) |
io.restassured.response.ValidatableResponse |
spec(io.restassured.specification.ResponseSpecification responseSpecificationToMerge) |
io.restassured.response.ValidatableResponse |
statusCode(int expectedStatusCode) |
io.restassured.response.ValidatableResponse |
statusCode(org.hamcrest.Matcher<? super Integer> expectedStatusCode) |
io.restassured.response.ValidatableResponse |
statusLine(org.hamcrest.Matcher<? super String> expectedStatusLine) |
io.restassured.response.ValidatableResponse |
statusLine(String expectedStatusLine) |
io.restassured.response.ValidatableResponse |
time(org.hamcrest.Matcher<Long> matcher) |
io.restassured.response.ValidatableResponse |
time(org.hamcrest.Matcher<Long> matcher,
TimeUnit timeUnit) |
io.restassured.response.ValidatableResponse |
using() |
public io.restassured.response.ValidatableResponse body(String path, List<io.restassured.specification.Argument> arguments, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(List<io.restassured.specification.Argument> arguments, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
body in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse body(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 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 String> expectedStatusLine)
statusLine in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse statusLine(String expectedStatusLine)
statusLine in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse headers(Map<String,?> expectedHeaders)
headers in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse headers(String firstExpectedHeaderName, Object firstExpectedHeaderValue, Object... expectedHeaders)
headers in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse header(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(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(String s, Function<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(String headerName, String expectedValue)
header in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookies(Map<String,?> expectedCookies)
cookies in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookie(String cookieName)
cookie in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookies(String firstExpectedCookieName, Object firstExpectedCookieValue, Object... expectedCookieNameValuePairs)
cookies in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookie(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(String cookieName, io.restassured.matcher.DetailedCookieMatcher detailedCookieMatcher)
cookie in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse cookie(String cookieName, Object expectedValue)
cookie in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse rootPath(String rootPath)
rootPath in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse rootPath(String rootPath, 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(String rootPath, 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(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 appendRootPath(String pathToAppend)
appendRootPath in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse appendRoot(String pathToAppend)
appendRoot in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse appendRootPath(String pathToAppend, List<io.restassured.specification.Argument> arguments)
appendRootPath in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse appendRoot(String pathToAppend, 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 detachRootPath(String pathToDetach)
detachRootPath in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>public io.restassured.response.ValidatableResponse detachRoot(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(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 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(String path, 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(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(String path, org.hamcrest.Matcher<?> matcher, Object... additionalKeyMatcherPairs)
body 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 parser(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<Long> matcher)
time in interface io.restassured.response.ValidatableResponseOptions<io.restassured.response.ValidatableResponse,io.restassured.response.Response>Copyright © 2023. All rights reserved.