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. |
| ClientWebRequestBuilder |
Build
ClientWebRequests. |
| 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
ClientHttpResponses 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 ResponseErrorHandlers. |
| 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. |
| DefaultClientWebRequestBuilder |
Builds a
ClientHttpRequest using a Publisher
as request body. |
| DefaultResponseErrorHandler |
Default implementation of the
ResponseErrorHandler interface
that throws WebClientErrorExceptions for HTTP 4xx responses
and WebServerErrorExceptions 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.