Package | Description |
---|---|
io.restassured.internal | |
io.restassured.matcher | |
io.restassured.response |
Modifier and Type | Method and Description |
---|---|
T |
ValidatableResponseOptionsImpl.body(List<Argument> arguments,
ResponseAwareMatcher<R> responseAwareMatcher) |
ValidatableResponse |
ValidatableResponseImpl.body(List arguments,
ResponseAwareMatcher responseAwareMatcher) |
T |
ValidatableResponseOptionsImpl.body(String key,
List<Argument> arguments,
ResponseAwareMatcher<R> responseAwareMatcher) |
ValidatableResponse |
ValidatableResponseImpl.body(String key,
List arguments,
ResponseAwareMatcher responseAwareMatcher) |
ValidatableResponse |
ValidatableResponseImpl.body(String key,
ResponseAwareMatcher responseAwareMatcher) |
T |
ValidatableResponseOptionsImpl.body(String key,
ResponseAwareMatcher<R> responseAwareMatcher) |
ValidatableResponse |
ValidatableResponseImpl.header(String headerName,
ResponseAwareMatcher r) |
T |
ValidatableResponseOptionsImpl.header(String headerName,
ResponseAwareMatcher<R> r) |
Modifier and Type | Method and Description |
---|---|
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(org.hamcrest.Matcher matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static ResponseAwareMatcher<Response> |
RestAssuredMatchers.containsPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
static ResponseAwareMatcher<Response> |
RestAssuredMatchers.endsWithPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
static ResponseAwareMatcher<Response> |
RestAssuredMatchers.equalToPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(org.hamcrest.Matcher matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static ResponseAwareMatcher<Response> |
RestAssuredMatchers.startsWithPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
Modifier and Type | Method and Description |
---|---|
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(org.hamcrest.Matcher matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(org.hamcrest.Matcher matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.and(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(org.hamcrest.Matcher matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(org.hamcrest.Matcher matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
org.hamcrest.Matcher matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
static <T extends ResponseBody<T> & ResponseOptions<T>> |
ResponseAwareMatcherComposer.or(ResponseAwareMatcher<T> matcher1,
ResponseAwareMatcher<T> matcher2,
ResponseAwareMatcher<T>... additionalMatchers)
Compose this
ResponseAwareMatcher with another ResponseAwareMatcher . |
Modifier and Type | Method and Description |
---|---|
T |
ValidatableResponseOptions.body(List<Argument> arguments,
ResponseAwareMatcher<R> responseAwareMatcher)
Compare a path in the response body to something available in the response using arguments when root path is used.
|
T |
ValidatableResponseOptions.body(String path,
List<Argument> arguments,
ResponseAwareMatcher<R> responseAwareMatcher)
Compare a path in the response body to something available in the response using arguments.
|
T |
ValidatableResponseOptions.body(String path,
ResponseAwareMatcher<R> responseAwareMatcher)
Compare a path in the response body to something available in the response, for example another path.
|
T |
ValidatableResponseOptions.header(String headerName,
ResponseAwareMatcher<R> expectedValueMatcher)
Compare a header in the response to something else available in the response.
|
Copyright © 2010–2020. All rights reserved.