Uses of Interface
org.springframework.http.client.reactive.ClientHttpRequest
Packages that use ClientHttpRequest Package Description org.springframework.http.client.reactive Abstractions for reactive HTTP client support includingClientHttpRequest
andClientHttpResponse
as well as aClientHttpConnector
.org.springframework.mock.http.client.reactive Mock implementations of reactive HTTP client contracts.org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.org.springframework.web.reactive.function.client Provides a reactiveWebClient
that builds on top of theorg.springframework.http.client.reactive
reactive HTTP adapter layer.Uses of ClientHttpRequest in org.springframework.http.client.reactive
Classes in org.springframework.http.client.reactive that implement ClientHttpRequest Modifier and Type Class Description class
AbstractClientHttpRequest
Base class forClientHttpRequest
implementations.class
ClientHttpRequestDecorator
Wraps anotherClientHttpRequest
and delegates all methods to it.Methods in org.springframework.http.client.reactive that return ClientHttpRequest Modifier and Type Method Description ClientHttpRequest
ClientHttpRequestDecorator. getDelegate()
Method parameters in org.springframework.http.client.reactive with type arguments of type ClientHttpRequest Modifier and Type Method Description reactor.core.publisher.Mono<ClientHttpResponse>
ClientHttpConnector. connect(HttpMethod method, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)
Connect to the origin server using the givenHttpMethod
andURI
and apply the givenrequestCallback
when the HTTP request of the underlying API can be initialized and written to.reactor.core.publisher.Mono<ClientHttpResponse>
JettyClientHttpConnector. connect(HttpMethod method, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)
reactor.core.publisher.Mono<ClientHttpResponse>
ReactorClientHttpConnector. connect(HttpMethod method, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)
Constructors in org.springframework.http.client.reactive with parameters of type ClientHttpRequest Constructor Description ClientHttpRequestDecorator(ClientHttpRequest delegate)
Uses of ClientHttpRequest in org.springframework.mock.http.client.reactive
Classes in org.springframework.mock.http.client.reactive that implement ClientHttpRequest Modifier and Type Class Description class
MockClientHttpRequest
Mock implementation ofClientHttpRequest
.Uses of ClientHttpRequest in org.springframework.test.web.reactive.server
Method parameters in org.springframework.test.web.reactive.server with type arguments of type ClientHttpRequest Modifier and Type Method Description WebTestClient.RequestHeadersSpec<?>
WebTestClient.RequestBodySpec. body(BodyInserter<?,? super ClientHttpRequest> inserter)
Set the body of the request to the givenBodyInserter
.reactor.core.publisher.Mono<ClientHttpResponse>
HttpHandlerConnector. connect(HttpMethod httpMethod, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)
Uses of ClientHttpRequest in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client that return types with arguments of type ClientHttpRequest Modifier and Type Method Description BodyInserter<?,? super ClientHttpRequest>
ClientRequest. body()
Return the body inserter of this request.Methods in org.springframework.web.reactive.function.client with parameters of type ClientHttpRequest Modifier and Type Method Description reactor.core.publisher.Mono<Void>
ClientRequest. writeTo(ClientHttpRequest request, ExchangeStrategies strategies)
Write this request to the givenClientHttpRequest
.Method parameters in org.springframework.web.reactive.function.client with type arguments of type ClientHttpRequest Modifier and Type Method Description ClientRequest.Builder
ClientRequest.Builder. body(BodyInserter<?,? super ClientHttpRequest> inserter)
Set the body of the request to the givenBodyInserter
.WebClient.RequestHeadersSpec<?>
WebClient.RequestBodySpec. body(BodyInserter<?,? super ClientHttpRequest> inserter)
Set the body of the request using the given body inserter.