Uses of Interface
org.springframework.http.client.reactive.ClientHttpConnector
Package
Description
Abstractions for reactive HTTP client support including
ClientHttpRequest
and
ClientHttpResponse
as well as a
ClientHttpConnector
.Support for testing Spring WebFlux server endpoints via
WebTestClient
.Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.-
Uses of ClientHttpConnector in org.springframework.http.client.reactive
Modifier and TypeClassDescriptionclass
ClientHttpConnector
implementation for the Apache HttpComponents HttpClient 5.x.class
ClientHttpConnector
for the JavaHttpClient
.class
ClientHttpConnector
for the Jetty Reactive Streams HttpClient.class
Reactor-Netty implementation ofClientHttpConnector
.class
Reactor Netty 2 (Netty 5) implementation ofClientHttpConnector
. -
Uses of ClientHttpConnector in org.springframework.test.web.reactive.server
Modifier and TypeClassDescriptionclass
Connector that handles requests by invoking anHttpHandler
rather than making actual requests to a network socket.Modifier and TypeMethodDescriptionvoid
WebTestClientConfigurer.afterConfigurerAdded
(WebTestClient.Builder builder, WebHttpHandlerBuilder httpHandlerBuilder, ClientHttpConnector connector) Use methods onWebTestClient.Builder
to modify test client settings.static WebTestClient.Builder
WebTestClient.bindToServer
(ClientHttpConnector connector) A variant ofWebTestClient.bindToServer()
with a pre-configured connector.WebTestClient.Builder.clientConnector
(ClientHttpConnector connector) Set theClientHttpConnector
to use. -
Uses of ClientHttpConnector in org.springframework.test.web.servlet.client
Modifier and TypeClassDescriptionclass
Connector that handles requests by invoking aMockMvc
rather than making actual requests over HTTP. -
Uses of ClientHttpConnector in org.springframework.web.reactive.function.client
Modifier and TypeMethodDescriptionWebClient.Builder.clientConnector
(ClientHttpConnector connector) Configure theClientHttpConnector
to use.static ExchangeFunction
ExchangeFunctions.create
(ClientHttpConnector connector) Create anExchangeFunction
with the givenClientHttpConnector
.static ExchangeFunction
ExchangeFunctions.create
(ClientHttpConnector connector, ExchangeStrategies strategies) Create anExchangeFunction
with the givenClientHttpConnector
andExchangeStrategies
.