# Uses of Package
org.springframework.web.client

Packages that use org.springframework.web.client
Package
Description
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.

Classes in org.springframework.web.client used by org.springframework.web.client
Class
Description
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 `HttpStatusCode`.
RequestCallback
Callback interface for code that operates on a `ClientHttpRequest`.
ResponseErrorHandler
Strategy interface used by the `RestTemplate` and `RestClient` to determine whether a particular response has an error or not.
ResponseExtractor
Generic callback interface used by `RestTemplate`'s retrieval methods.
RestClient
Client to perform HTTP requests, exposing a fluent, synchronous API over underlying HTTP client libraries such as the JDK `HttpClient`, Apache HttpComponents, and others.
RestClient.Builder
A mutable builder for creating a `RestClient`.
RestClient.RequestBodySpec
Contract for specifying request headers and body leading up to the exchange.
RestClient.RequestBodyUriSpec
Contract for specifying request headers, body and URI for a request.
RestClient.RequestHeadersSpec
Contract for specifying request headers leading up to the exchange.
RestClient.RequestHeadersSpec.ConvertibleClientHttpResponse
Extension of `ClientHttpResponse` that can convert the body.
RestClient.RequestHeadersSpec.ExchangeFunction
Defines the contract for `RestClient.RequestHeadersSpec.exchange(ExchangeFunction)`.
RestClient.RequestHeadersSpec.RequiredValueExchangeFunction
Variant of `RestClient.RequestHeadersSpec.ExchangeFunction` returning a non-null required value.
RestClient.RequestHeadersUriSpec
Contract for specifying request headers and URI for a request.
RestClient.ResponseSpec
Contract for specifying response operations following the exchange.
RestClient.ResponseSpec.ErrorHandler
Used in `RestClient.ResponseSpec.onStatus(Predicate, ErrorHandler)`.
RestClient.UriSpec
Contract for specifying the URI for a request.
RestClientException
Base class for exceptions thrown by `RestClient` and `RestTemplate` in case a request fails because of a server error response, a 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.
Classes in org.springframework.web.client used by org.springframework.web.client.support
Class
Description
RestClient
Client to perform HTTP requests, exposing a fluent, synchronous API over underlying HTTP client libraries such as the JDK `HttpClient`, Apache HttpComponents, and others.
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.