| Package | Description |
|---|---|
| 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 | Interface and Description |
|---|---|
static interface |
WebClient.RequestHeadersSpec<S extends WebClient.RequestHeadersSpec<S>>
Contract for specifying request headers leading up to the exchange.
|
static interface |
WebClient.RequestHeadersUriSpec<S extends WebClient.RequestHeadersSpec<S>> |
static interface |
WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>
Contract for specifying the URI for a request.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
WebClient.RequestBodySpec |
static interface |
WebClient.RequestBodyUriSpec |
static interface |
WebClient.RequestHeadersUriSpec<S extends WebClient.RequestHeadersSpec<S>> |
| Modifier and Type | Method and Description |
|---|---|
WebClient.RequestHeadersSpec<?> |
WebClient.RequestBodySpec.body(BodyInserter<?,? super org.springframework.http.client.reactive.ClientHttpRequest> inserter)
Set the body of the request to the given
BodyInserter. |
<T,P extends org.reactivestreams.Publisher<T>> |
WebClient.RequestBodySpec.body(P publisher,
java.lang.Class<T> elementClass)
Set the body of the request to the given asynchronous
Publisher. |
<T,P extends org.reactivestreams.Publisher<T>> |
WebClient.RequestBodySpec.body(P publisher,
org.springframework.core.ParameterizedTypeReference<T> typeReference)
Set the body of the request to the given asynchronous
Publisher. |
WebClient.RequestHeadersSpec<?> |
WebClient.RequestBodySpec.syncBody(java.lang.Object body)
Set the body of the request to the given synchronous
Object. |