Package | Description |
---|---|
org.springframework.http.client.reactive |
Abstractions for reactive HTTP client support including
ClientHttpRequest and
ClientHttpResponse as well as a
ClientHttpConnector . |
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. |
Modifier and Type | Class and Description |
---|---|
class |
JettyClientHttpConnector
ClientHttpConnector for the Jetty Reactive Streams HttpClient. |
class |
ReactorClientHttpConnector
Reactor-Netty implementation of
ClientHttpConnector . |
Modifier and Type | Class and Description |
---|---|
class |
HttpHandlerConnector
Connector that handles requests by invoking an
HttpHandler rather
than making actual requests to a network socket. |
Modifier and Type | Method and Description |
---|---|
void |
WebTestClientConfigurer.afterConfigurerAdded(WebTestClient.Builder builder,
WebHttpHandlerBuilder httpHandlerBuilder,
ClientHttpConnector connector)
Invoked once only, immediately (i.e.
|
static WebTestClient.Builder |
WebTestClient.bindToServer(ClientHttpConnector connector)
A variant of
WebTestClient.bindToServer() with a pre-configured connector. |
Modifier and Type | Method and Description |
---|---|
WebClient.Builder |
WebClient.Builder.clientConnector(ClientHttpConnector connector)
Configure the
ClientHttpConnector to use. |
static ExchangeFunction |
ExchangeFunctions.create(ClientHttpConnector connector)
Create an
ExchangeFunction with the given ClientHttpConnector . |
static ExchangeFunction |
ExchangeFunctions.create(ClientHttpConnector connector,
ExchangeStrategies strategies)
Create an
ExchangeFunction with the given
ClientHttpConnector and ExchangeStrategies . |