Support for testing Spring WebFlux server endpoints via
WebTestClient
.
-
static interface
Specification for adding request headers and performing an exchange.
static interface
Specification for providing request headers and the URI of a request.
static interface
Specification for providing the URI of a request.
static interface
Specification for providing body of a request.
static interface
Specification for providing the body and the URI of a request.
static interface
Specification for providing request headers and the URI of a request.
Set the body from the given producer.
Set the body from the given producer.
Set the body of the request to the given BodyInserter
.
WebTestClient.RequestBodySpec.body(S publisher,
Class<T> elementClass)
Set the body from the given Publisher
.
Set the body to the given Object
value.
WebTestClient.RequestBodySpec.bodyValue(Object)