WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter} layer.See: Description
Interface | Description |
---|---|
BodyExtractor<T> |
Contract to extract the content of a raw
ClientHttpResponse decoding
the response body and using a target composition API. |
ClientHttpRequestInterceptionChain |
Delegate to the next
ClientHttpRequestInterceptor in the chain. |
ClientHttpRequestInterceptor |
Contract for chain-based, interception processing of client http requests
that may be used to implement cross-cutting requirements such
as security, timeouts, caching, and others.
|
ClientWebRequestBuilder |
Build
ClientWebRequest s. |
ClientWebRequestPostProcessor |
Contract to post-process the
ClientWebRequest after it is created
an initialized in order to mofidy or even wrap it. |
ResponseErrorHandler |
Strategy interface used by the
WebClient to handle errors in
ClientHttpResponse s if needed. |
ResponseExtractor<T> |
A
ResponseExtractor extracts the relevant part of a
raw ClientHttpResponse ,
optionally decoding the response body and using a target composition API. |
WebClientConfig |
Interface that makes the
WebClient configuration information
available to downstream infrastructure such as ResponseErrorHandler s. |
WebResponseActions |
Allows applying actions, such as extractors, on the result of an executed
WebClient request. |
Class | Description |
---|---|
ClientWebRequest |
Simple container for application-level information required to perform an
HTTP client request.
|
ClientWebRequestBuilders |
Static factory methods for
ClientWebRequestBuilders . |
ClientWebRequestPostProcessors |
Static factory methods for creating
ClientWebRequestPostProcesor instances. |
DefaultClientWebRequestBuilder |
Builds a
ClientHttpRequest using a Publisher
as request body. |
DefaultResponseErrorHandler |
Default implementation of the
ResponseErrorHandler interface
that throws WebClientErrorException s for HTTP 4xx responses
and WebServerErrorException s for HTTP 5xx responses. |
ResponseExtractors | |
WebClient |
Reactive Web client supporting the HTTP/1.1 protocol
|
Exception | Description |
---|---|
WebClientErrorException |
Exception thrown when an HTTP 4xx is received.
|
WebClientException |
Base class for exceptions thrown by
WebClient . |
WebClientResponseException |
Base class for exceptions associated with specific HTTP client response
status codes.
|
WebServerErrorException |
Exception thrown when an HTTP 5xx is received.
|
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter} layer.