WebTestClient
.See: Description
Interface | Description |
---|---|
WebTestClient |
Main entry point for testing WebFlux server endpoints with an API similar to
that of
WebClient , and actually delegating to a WebClient
instance, but with a focus on testing. |
WebTestClient.BodySpec |
Specification to apply additional assertions on the response body.
|
WebTestClient.Builder |
Steps for customizing the
WebClient used to test with
internally delegating to a WebClient.Builder . |
WebTestClient.ControllerSpec |
Specification for customizing controller configuration equivalent to, and
internally delegating to, a
WebFluxConfigurer . |
WebTestClient.HeaderSpec |
Specification for adding request headers and performing an exchange.
|
WebTestClient.ListBodySpec |
Specification to assert a list of values extracted from the response.
|
WebTestClient.MapBodySpec |
Specification to assert response the body extracted as a map.
|
WebTestClient.ResponseSpec |
Specification for processing the response and applying expectations.
|
WebTestClient.SingleValueBodySpec |
Specification to assert a single value extracted from the response body.
|
WebTestClient.TypeBodySpec |
Specification for extracting entities from the response body.
|
WebTestClient.UriSpec |
Specification for providing the URI of a request.
|
Class | Description |
---|---|
DefaultControllerSpec |
Default implementation of
WebTestClient.ControllerSpec . |
DefaultWebTestClient |
Default implementation of
WebTestClient . |
DefaultWebTestClientBuilder |
Default implementation of
WebTestClient.Builder . |
EntityExchangeResult<T> |
ExchangeResult sub-class that exposes the response body fully
extracted to a representation of type <T> . |
ExchangeResult |
Provides access to request and response details from an exchange performed
through the
WebTestClient . |
FluxExchangeResult<T> |
ExchangeResult variant with the response body as a Flux<T> . |
HeaderAssertions |
Assertions on headers of the response.
|
HttpHandlerConnector |
Connector that handles requests by invoking an
HttpHandler rather
than making actual requests to a network socket. |
StatusAssertions |
Assertions on the response status.
|
WiretapClientHttpRequest |
Client HTTP request decorator that intercepts and saves content written to
the server.
|
WiretapClientHttpResponse |
Client HTTP response decorator that interceptrs and saves the content read
from the server.
|
WiretapConnector |
Decorate another
ClientHttpConnector with the purpose of
intercepting, capturing, and exposing actual request and response data
transmitted to and received from the server. |
WebTestClient
.