| Package | Description |
|---|---|
| org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient. |
| Modifier and Type | Method and Description |
|---|---|
WebTestClient.RequestBodySpec |
WebTestClient.RequestBodySpec.contentLength(long contentLength)
Set the length of the body in bytes, as specified by the
Content-Length header. |
WebTestClient.RequestBodySpec |
WebTestClient.RequestBodySpec.contentType(org.springframework.http.MediaType contentType)
Set the media type of the body, as specified
by the
Content-Type header. |
| Modifier and Type | Method and Description |
|---|---|
WebTestClient.UriSpec<WebTestClient.RequestBodySpec> |
WebTestClient.patch()
Prepare an HTTP PATCH request.
|
WebTestClient.UriSpec<WebTestClient.RequestBodySpec> |
WebTestClient.post()
Prepare an HTTP POST request.
|
WebTestClient.UriSpec<WebTestClient.RequestBodySpec> |
WebTestClient.put()
Prepare an HTTP PUT request.
|