Package | Description |
---|---|
org.springframework.http.client.reactive |
Abstractions for reactive HTTP client support including
ClientHttpRequest and
ClientHttpResponse as well as a
ClientHttpConnector . |
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 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 |
AbstractClientHttpRequest
Base class for
ClientHttpRequest implementations. |
class |
ClientHttpRequestDecorator
Wraps another
ClientHttpRequest and delegates all methods to it. |
Modifier and Type | Method and Description |
---|---|
ClientHttpRequest |
ClientHttpRequestDecorator.getDelegate() |
Modifier and Type | Method and Description |
---|---|
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> |
ClientHttpConnector.connect(HttpMethod method,
URI uri,
Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)
Connect to the origin server using the given
HttpMethod and
URI and apply the given requestCallback when the HTTP
request of the underlying API can be initialized and written to. |
reactor.core.publisher.Mono<ClientHttpResponse> |
ReactorClientHttpConnector.connect(HttpMethod method,
URI uri,
Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback) |
Constructor and Description |
---|
ClientHttpRequestDecorator(ClientHttpRequest delegate) |
Modifier and Type | Class and Description |
---|---|
class |
MockClientHttpRequest
Mock implementation of
ClientHttpRequest . |
Modifier and Type | Method and Description |
---|---|
WebTestClient.RequestHeadersSpec<?> |
WebTestClient.RequestBodySpec.body(BodyInserter<?,? super ClientHttpRequest> inserter)
Set the body of the request to the given
BodyInserter . |
reactor.core.publisher.Mono<ClientHttpResponse> |
HttpHandlerConnector.connect(HttpMethod httpMethod,
URI uri,
Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback) |
Modifier and Type | Method and Description |
---|---|
BodyInserter<?,? super ClientHttpRequest> |
ClientRequest.body()
Return the body inserter of this request.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
ClientRequest.writeTo(ClientHttpRequest request,
ExchangeStrategies strategies)
Write this request to the given
ClientHttpRequest . |
Modifier and Type | Method and Description |
---|---|
ClientRequest.Builder |
ClientRequest.Builder.body(BodyInserter<?,? super ClientHttpRequest> inserter)
Set the body of the request to the given
BodyInserter . |
WebClient.RequestHeadersSpec<?> |
WebClient.RequestBodySpec.body(BodyInserter<?,? super ClientHttpRequest> inserter)
Set the body of the request using the given body inserter.
|