| Package | Description |
|---|---|
| org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient. |
| Modifier and Type | Method and Description |
|---|---|
WebTestClient |
WebTestClient.MockServerSpec.build()
Shortcut to build the test client.
|
WebTestClient |
WebTestClient.Builder.build()
Build the
WebTestClient instance. |
WebTestClient |
WebTestClient.exchangeMutator(UnaryOperator<org.springframework.web.server.ServerWebExchange> mutator)
Filter the client applying the given transformation function on the
ServerWebExchange to every request. |
WebTestClient |
WebTestClient.filter(org.springframework.web.reactive.function.client.ExchangeFilterFunction filterFunction)
Filter the client with the given
ExchangeFilterFunction. |