References Deprecated
AbstractReactorHttpExchangeAdapter is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
ReactorHttpExchangeAdapter that enables an HttpServiceProxyFactory
to use WebClient for request execution.
Use static factory methods in this class to create an
HttpServiceProxyFactory configured with a given WebClient.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static WebClientAdapter | Returns: the created adapter instancethe client to use webClient)
References Deprecated
WebClientAdapter is deprecated or references (maybe indirectly) at least one deprecated element.
Create a |
| public Mono | exchangeForBodilessEntityMono(HttpRequestValues requestValues)
Implements org. Variant of |
| public <T> Flux | exchangeForBodyFlux(HttpRequestValues
the request to perform requestValues, ParameterizedTypeReference<T> the target stream element type to decode to bodyType)Implements org. Perform the given request and decode the response content to a stream with elements of the given type. |
| public <T> Mono | exchangeForBodyMono(HttpRequestValues
the request to perform requestValues, ParameterizedTypeReference<T> the target type to decode to bodyType)Implements org. Perform the given request and decode the response content to the given type. |
| public <T> Mono | exchangeForEntityFlux(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType)
Implements org. Variant of |
| public <T> Mono | exchangeForEntityMono(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType)
Implements org. Variant of |
| public Mono | exchangeForHeadersMono(HttpRequestValues
the request to perform requestValues)Implements org. Perform the given request, release the response content, and return the response headers. |
| public Mono | exchangeForMono(HttpRequestValues
the request to perform requestValues)Implements org. Perform the given request, and release the response content, if any. |
| public static WebClientAdapter | Returns: the created adapter instancethe client to use webClient)
Deprecated
for removal since 6.1. in favor of
create(WebClient) aligning with other adapter
implementations; to be removed in 6.2.
Create a |
| private WebClient. | |
| public boolean | supportsRequestAttributes()
Implements org. Whether the underlying client supports use of request attributes. |
| webClient | back to summary |
|---|---|
| private final WebClient webClient | |
| WebClientAdapter | back to summary |
|---|---|
| private WebClientAdapter(WebClient webClient) Package private constructor. See static factory methods. | |
| create | back to summary |
|---|---|
| public static WebClientAdapter create(WebClient webClient)
References Deprecated
See corresponding docs for further information. Create a
| |
| exchangeForBodilessEntityMono | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Variant of
| |
| exchangeForBodyFlux | back to summary |
|---|---|
| public <T> Flux Implements org. Doc from org. Perform the given request and decode the response content to a stream with elements of the given type.
| |
| exchangeForBodyMono | back to summary |
|---|---|
| public <T> Mono Implements org. Doc from org. Perform the given request and decode the response content to the given type.
| |
| exchangeForEntityFlux | back to summary |
|---|---|
| public <T> Mono Implements org. Doc from org. Variant of
| |
| exchangeForEntityMono | back to summary |
|---|---|
| public <T> Mono Implements org. Doc from org. Variant of
| |
| exchangeForHeadersMono | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Perform the given request, release the response content, and return the response headers.
| |
| exchangeForMono | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Perform the given request, and release the response content, if any.
| |
| forClient | back to summary |
|---|---|
| public static WebClientAdapter forClient(WebClient webClient)
Deprecated for removal since 6.1. in favor of Create a
| |
| newRequest | back to summary |
|---|---|
private WebClient.
| |
| supportsRequestAttributes | back to summary |
|---|---|
| public boolean supportsRequestAttributes() Implements org. Doc from org. Whether the underlying client supports use of request attributes.
| |