Package | Description |
---|---|
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.web.reactive.function.client |
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer. |
org.springframework.web.reactive.function.client.support |
Classes supporting the
org.springframework.web.reactive.function.client package. |
Modifier and Type | Method and Description |
---|---|
WebTestClient.Builder |
WebTestClient.Builder.exchangeStrategies(ExchangeStrategies strategies)
Configure the
ExchangeStrategies to use. |
Modifier and Type | Method and Description |
---|---|
ExchangeStrategies |
ExchangeStrategies.Builder.build()
Builds the
ExchangeStrategies . |
ExchangeStrategies |
ClientResponse.strategies()
Return the strategies used to convert the body of this response.
|
static ExchangeStrategies |
ExchangeStrategies.withDefaults()
Return a new
ExchangeStrategies with default configuration
provided by ClientCodecConfigurer . |
Modifier and Type | Method and Description |
---|---|
static ExchangeFunction |
ExchangeFunctions.create(ClientHttpConnector connector,
ExchangeStrategies strategies)
Create an
ExchangeFunction with the given
ClientHttpConnector and ExchangeStrategies . |
static ClientResponse.Builder |
ClientResponse.create(HttpStatus statusCode,
ExchangeStrategies strategies)
Create a response builder with the given status code and strategies for reading the body.
|
WebClient.Builder |
WebClient.Builder.exchangeStrategies(ExchangeStrategies strategies)
Configure the
ExchangeStrategies to use. |
reactor.core.publisher.Mono<java.lang.Void> |
ClientRequest.writeTo(ClientHttpRequest request,
ExchangeStrategies strategies)
Write this request to the given
ClientHttpRequest . |
Modifier and Type | Method and Description |
---|---|
ExchangeStrategies |
ClientResponseWrapper.strategies() |