References Deprecated
HttpClientAdapter is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
ReactorHttpExchangeAdapter implementation
adapting to the synchronous HttpExchangeAdapter contract.
| Modifier and Type | Field and Description |
|---|---|
| private Duration | |
| private ReactiveAdapterRegistry |
| Access | Constructor and Description |
|---|---|
| protected |
| blockTimeout | back to summary |
|---|---|
| private Duration blockTimeout
| |
| reactiveAdapterRegistry | back to summary |
|---|---|
| private ReactiveAdapterRegistry reactiveAdapterRegistry | |
| AbstractReactorHttpExchangeAdapter | back to summary |
|---|---|
| protected AbstractReactorHttpExchangeAdapter() Protected constructor, for subclasses. | |
| exchange | back to summary |
|---|---|
| public void exchange(HttpRequestValues requestValues) Implements org. Doc from org. Perform the given request, and release the response content, if any.
| |
| exchangeForBodilessEntity | back to summary |
|---|---|
| public ResponseEntity Implements org. Doc from org. Variant of
| |
| exchangeForBody | back to summary |
|---|---|
| public <T> T exchangeForBody(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) Implements org. Doc from org. Perform the given request and decode the response content to the given type.
| |
| exchangeForEntity | back to summary |
|---|---|
| public <T> ResponseEntity Implements org. Doc from org. Variant of
| |
| exchangeForHeaders | back to summary |
|---|---|
| public HttpHeaders exchangeForHeaders(HttpRequestValues requestValues) Implements org. Doc from org. Perform the given request, release the response content, and return the response headers.
| |
| getBlockTimeout | back to summary |
|---|---|
| public Duration getBlockTimeout() Implements org. Doc from org. Return the configured time to block for the response from an HTTP service method with a synchronous (blocking) method signature. By default, not set in which case the behavior depends on connection and request timeout settings of the underlying HTTP client. We recommend configuring timeout values directly on the underlying HTTP client, which provides more control over such settings. | |
| getReactiveAdapterRegistry | back to summary |
|---|---|
| public ReactiveAdapterRegistry getReactiveAdapterRegistry() Implements org. Doc from org. Return the configured
| |
| requestToBodilessEntity | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Variant of
| |
| requestToBody | back to summary |
|---|---|
| public <T> Mono Implements org. Doc from org. Perform the given request and decode the response content to the given type.
| |
| requestToBodyFlux | 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.
| |
| requestToEntity | back to summary |
|---|---|
| public <T> Mono Implements org. Doc from org. Variant of
| |
| requestToEntityFlux | back to summary |
|---|---|
| public <T> Mono Implements org. Doc from org. Variant of
| |
| requestToHeaders | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Perform the given request, release the response content, and return the response headers.
| |
| requestToVoid | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Perform the given request, and release the response content, if any.
| |
| setBlockTimeout | back to summary |
|---|---|
| public void setBlockTimeout(Duration blockTimeout) Configure how long to block for the response of an HTTP service method
as described in | |
| setReactiveAdapterRegistry | back to summary |
|---|---|
| public void setReactiveAdapterRegistry(ReactiveAdapterRegistry reactiveAdapterRegistry) Configure the By default, this is | |