See: Description
Interface | Description |
---|---|
AsyncRequestCallback | Deprecated
as of Spring 5.0, in favor of
ExchangeFilterFunction |
AsyncRestOperations | Deprecated
as of Spring 5.0, in favor of
WebClient |
RequestCallback |
Callback interface for code that operates on a
ClientHttpRequest . |
ResponseErrorHandler |
Strategy interface used by the
RestTemplate to determine
whether a particular response has an error or not. |
ResponseExtractor<T> |
Generic callback interface used by
RestTemplate 's retrieval methods
Implementations of this interface perform the actual work of extracting data
from a ClientHttpResponse , but don't need to worry about exception
handling or closing resources. |
RestOperations |
Interface specifying a basic set of RESTful operations.
|
Class | Description |
---|---|
AsyncRestTemplate | Deprecated
as of Spring 5.0, in favor of
WebClient |
DefaultResponseErrorHandler |
Spring's default implementation of the
ResponseErrorHandler interface. |
ExtractingResponseErrorHandler |
Implementation of
ResponseErrorHandler that uses HttpMessageConverters to convert HTTP error responses to RestClientExceptions . |
HttpMessageConverterExtractor<T> |
Response extractor that uses the given entity converters
to convert the response into a type
T . |
RestTemplate |
Synchronous client to perform HTTP requests, exposing a simple, template
method API over underlying HTTP client libraries such as the JDK
HttpURLConnection , Apache HttpComponents, and others. |