@NonNullApi @NonNullFields

# Package org.springframework.web.client

Core package of the client-side web support.

See: Description

- Interface Summary
  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.
  RestOperations | Interface specifying a basic set of RESTful operations.

- Class Summary
  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.

- Exception Summary
  Exception | Description
  --- | ---
  HttpClientErrorException | Exception thrown when an HTTP 4xx is received.
  HttpClientErrorException.BadRequest | `HttpClientErrorException` for status HTTP 400 Bad Request.
  HttpClientErrorException.Conflict | `HttpClientErrorException` for status HTTP 409 Conflict.
  HttpClientErrorException.Forbidden | `HttpClientErrorException` for status HTTP 403 Forbidden.
  HttpClientErrorException.Gone | `HttpClientErrorException` for status HTTP 410 Gone.
  HttpClientErrorException.MethodNotAllowed | `HttpClientErrorException` for status HTTP 405 Method Not Allowed.
  HttpClientErrorException.NotAcceptable | `HttpClientErrorException` for status HTTP 406 Not Acceptable.
  HttpClientErrorException.NotFound | `HttpClientErrorException` for status HTTP 404 Not Found.
  HttpClientErrorException.TooManyRequests | `HttpClientErrorException` for status HTTP 429 Too Many Requests.
  HttpClientErrorException.Unauthorized | `HttpClientErrorException` for status HTTP 401 Unauthorized.
  HttpClientErrorException.UnprocessableEntity | `HttpClientErrorException` for status HTTP 422 Unprocessable Entity.
  HttpClientErrorException.UnsupportedMediaType | `HttpClientErrorException` for status HTTP 415 Unsupported Media Type.
  HttpServerErrorException | Exception thrown when an HTTP 5xx is received.
  HttpServerErrorException.BadGateway | `HttpServerErrorException` for HTTP status 502 Bad Gateway.
  HttpServerErrorException.GatewayTimeout | `HttpServerErrorException` for status HTTP 504 Gateway Timeout.
  HttpServerErrorException.InternalServerError | `HttpServerErrorException` for status HTTP 500 Internal Server Error.
  HttpServerErrorException.NotImplemented | `HttpServerErrorException` for status HTTP 501 Not Implemented.
  HttpServerErrorException.ServiceUnavailable | `HttpServerErrorException` for status HTTP 503 Service Unavailable.
  HttpStatusCodeException | Abstract base class for exceptions based on an `HttpStatus`.
  ResourceAccessException | Exception thrown when an I/O error occurs.
  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.
  UnknownContentTypeException | Raised when no suitable `HttpMessageConverter` could be found to extract the response.
  UnknownHttpStatusCodeException | Exception thrown when an unknown (or custom) HTTP status code is received.

## Package org.springframework.web.client Description

Core package of the client-side web support. Provides a RestTemplate class and various callback interfaces.