Package | Description |
---|---|
io.restassured.module.mockmvc | |
io.restassured.module.mockmvc.internal | |
io.restassured.module.mockmvc.matcher |
Modifier and Type | Method and Description |
---|---|
static MockMvcResponse |
RestAssuredMockMvc.delete()
Perform a DELETE request to the statically configured base path.
|
static MockMvcResponse |
RestAssuredMockMvc.delete(String path,
Map<String,?> pathParams)
Perform a DELETE request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.delete(String path,
Object... pathParams)
Perform a DELETE request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.delete(URI uri)
Perform a DELETE request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.delete(URL url)
Perform a DELETE request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.get()
Perform a GET request to the statically configured base path.
|
static MockMvcResponse |
RestAssuredMockMvc.get(String path,
Map<String,?> pathParams)
Perform a GET request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.get(String path,
Object... pathParams)
Perform a GET request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.get(URI uri)
Perform a GET request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.get(URL url)
Perform a GET request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.head()
Perform a HEAD request to the statically configured base path.
|
static MockMvcResponse |
RestAssuredMockMvc.head(String path,
Map<String,?> pathParams)
Perform a HEAD request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.head(String path,
Object... pathParams)
Perform a HEAD request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.head(URI uri)
Perform a HEAD request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.head(URL url)
Perform a HEAD request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.options()
Perform a OPTIONS request to the statically configured base path.
|
static MockMvcResponse |
RestAssuredMockMvc.options(String path,
Map<String,?> pathParams)
Perform a OPTIONS request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.options(String path,
Object... pathParams)
Perform a OPTIONS request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.options(URI uri)
Perform a OPTIONS request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.options(URL url)
Perform a OPTIONS request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.patch()
Perform a PATCH request to the statically configured base path.
|
static MockMvcResponse |
RestAssuredMockMvc.patch(String path,
Map<String,?> pathParams)
Perform a PATCH request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.patch(String path,
Object... pathParams)
Perform a PATCH request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.patch(URI uri)
Perform a PATCH request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.patch(URL url)
Perform a PATCH request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.post()
Perform a POST request to the statically configured base path.
|
static MockMvcResponse |
RestAssuredMockMvc.post(String path,
Map<String,?> pathParams)
Perform a POST request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.post(String path,
Object... pathParams)
Perform a POST request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.post(URI uri)
Perform a POST request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.post(URL url)
Perform a POST request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.put()
Perform a PUT request to the statically configured base path.
|
static MockMvcResponse |
RestAssuredMockMvc.put(String path,
Object... pathParams)
Perform a PUT request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.put(URI uri)
Perform a PUT request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.put(URL url)
Perform a PUT request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.request(io.restassured.http.Method method)
Perform a request to the pre-configured path (by default
http://localhost:8080 ). |
static MockMvcResponse |
RestAssuredMockMvc.request(io.restassured.http.Method method,
String path,
Object... pathParams)
Perform a HTTP request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.request(io.restassured.http.Method method,
URI uri)
Perform a request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.request(io.restassured.http.Method method,
URL url)
Perform a request to a
url . |
static MockMvcResponse |
RestAssuredMockMvc.request(String method)
Perform a custom HTTP request to the pre-configured path (by default
http://localhost:8080 ). |
static MockMvcResponse |
RestAssuredMockMvc.request(String method,
String path,
Object... pathParams)
Perform a custom HTTP request to a
path . |
static MockMvcResponse |
RestAssuredMockMvc.request(String method,
URI uri)
Perform a custom HTTP request to a
uri . |
static MockMvcResponse |
RestAssuredMockMvc.request(String method,
URL url)
Perform a custom HTTP request to a
url . |
Modifier and Type | Class and Description |
---|---|
class |
MockMvcRestAssuredResponseImpl |
Modifier and Type | Method and Description |
---|---|
MockMvcResponse |
MockMvcRequestSpecificationImpl.delete() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.delete(String path,
Map<String,?> pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.delete(String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.delete(URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.delete(URL url) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.get() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.get(String path,
Map<String,?> pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.get(String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.get(URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.get(URL url) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.head() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.head(String path,
Map<String,?> pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.head(String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.head(URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.head(URL url) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.options() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.options(String path,
Map<String,?> pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.options(String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.options(URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.options(URL url) |
MockMvcResponse |
ValidatableMockMvcResponseImpl.originalResponse() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.patch() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.patch(String path,
Map<String,?> pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.patch(String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.patch(URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.patch(URL url) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.post() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.post(String path,
Map<String,?> pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.post(String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.post(URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.post(URL url) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.put() |
MockMvcResponse |
MockMvcRequestSpecificationImpl.put(String path,
Map<String,?> pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.put(String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.put(URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.put(URL url) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(io.restassured.http.Method method) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(io.restassured.http.Method method,
String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(io.restassured.http.Method method,
URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(io.restassured.http.Method method,
URL url) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(String method) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(String method,
String path,
Object... pathParams) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(String method,
URI uri) |
MockMvcResponse |
MockMvcRequestSpecificationImpl.request(String method,
URL url) |
Constructor and Description |
---|
ValidatableMockMvcResponseImpl(org.springframework.test.web.servlet.ResultActions resultActions,
String contentType,
io.restassured.internal.ResponseParserRegistrar rpr,
io.restassured.config.RestAssuredConfig config,
MockMvcResponse response,
io.restassured.response.ExtractableResponse<MockMvcResponse> extractableResponse,
io.restassured.internal.log.LogRepository logRepository) |
Constructor and Description |
---|
ValidatableMockMvcResponseImpl(org.springframework.test.web.servlet.ResultActions resultActions,
String contentType,
io.restassured.internal.ResponseParserRegistrar rpr,
io.restassured.config.RestAssuredConfig config,
MockMvcResponse response,
io.restassured.response.ExtractableResponse<MockMvcResponse> extractableResponse,
io.restassured.internal.log.LogRepository logRepository) |
Modifier and Type | Method and Description |
---|---|
static io.restassured.matcher.ResponseAwareMatcher<MockMvcResponse> |
RestAssuredMockMvcMatchers.containsPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
static io.restassured.matcher.ResponseAwareMatcher<MockMvcResponse> |
RestAssuredMockMvcMatchers.endsWithPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
static io.restassured.matcher.ResponseAwareMatcher<MockMvcResponse> |
RestAssuredMockMvcMatchers.equalToPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
static io.restassured.matcher.ResponseAwareMatcher<MockMvcResponse> |
RestAssuredMockMvcMatchers.startsWithPath(String path)
Creates a
ResponseAwareMatcher that extracts the given path from the response and
wraps it in a Matchers.equalTo(Object) matcher. |
Copyright © 2010–2020. All rights reserved.