Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
org.springframework.web.client |
Core package of the client-side web support.
|
org.springframework.web.client.support |
Classes supporting the
org.springframework.web.client package. |
org.springframework.web.socket.sockjs.client |
SockJS client implementation of
WebSocketClient . |
Class and Description |
---|
AsyncRestTemplate
Deprecated.
as of Spring 5.0, in favor of
WebClient |
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. |
Class and Description |
---|
AsyncRequestCallback
Deprecated.
as of Spring 5.0, in favor of
ExchangeFilterFunction |
AsyncRestOperations
Deprecated.
as of Spring 5.0, in favor of
WebClient |
DefaultResponseErrorHandler
Spring's default implementation of the
ResponseErrorHandler interface. |
HttpClientErrorException
Exception thrown when an HTTP 4xx is received.
|
HttpServerErrorException
Exception thrown when an HTTP 5xx is received.
|
HttpStatusCodeException
Abstract base class for exceptions based on an
HttpStatus . |
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
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. |
RestClientException
Base class for exceptions thrown by
RestTemplate in case a request
fails because of a server error response, as determined via
ResponseErrorHandler.hasError(ClientHttpResponse) , failure to decode
the response, or a low level I/O error. |
RestClientResponseException
Common base class for exceptions that contain actual HTTP response data.
|
RestOperations
Interface specifying a basic set of RESTful operations.
|
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. |
Class and Description |
---|
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. |
Class and Description |
---|
RestOperations
Interface specifying a basic set of RESTful operations.
|