| Package | Description | 
|---|---|
| org.springframework.http.client | Contains an abstraction over client-side HTTP. | 
| org.springframework.http.client.support | This package provides generic HTTP support classes,
 to be used by higher-level classes like RestTemplate. | 
| org.springframework.test.web.client | Contains client-side REST testing support. | 
| org.springframework.web.client | Core package of the client-side web support. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HttpComponentsAsyncClientHttpRequestFactoryDeprecated. 
 as of Spring 5.0, in favor of
  HttpComponentsClientHttpConnector | 
| class  | InterceptingAsyncClientHttpRequestFactoryDeprecated. 
 as of Spring 5.0, with no direct replacement | 
| class  | Netty4ClientHttpRequestFactoryDeprecated. 
 as of Spring 5.0, in favor of
  ReactorClientHttpConnector | 
| class  | OkHttp3ClientHttpRequestFactoryClientHttpRequestFactoryimplementation that uses
 OkHttp 3.x to create requests. | 
| class  | SimpleClientHttpRequestFactoryClientHttpRequestFactoryimplementation that uses standard JDK facilities. | 
| Constructor and Description | 
|---|
| InterceptingAsyncClientHttpRequestFactory(AsyncClientHttpRequestFactory delegate,
                                         List<AsyncClientHttpRequestInterceptor> interceptors)Deprecated.  Create new instance of  InterceptingAsyncClientHttpRequestFactorywith delegated request factory and list of interceptors. | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncClientHttpRequestFactory | InterceptingAsyncHttpAccessor. getAsyncRequestFactory()Deprecated.  | 
| AsyncClientHttpRequestFactory | AsyncHttpAccessor. getAsyncRequestFactory()Deprecated.  Return the request factory that this accessor uses for obtaining  HttpRequests. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AsyncHttpAccessor. setAsyncRequestFactory(AsyncClientHttpRequestFactory asyncRequestFactory)Deprecated.  Set the request factory that this accessor uses for obtaining  HttpRequests. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MockMvcClientHttpRequestFactoryA  ClientHttpRequestFactoryfor requests executed viaMockMvc. | 
| Constructor and Description | 
|---|
| AsyncRestTemplate(AsyncClientHttpRequestFactory asyncRequestFactory)Deprecated.  Create a new instance of the  AsyncRestTemplateusing the givenAsyncClientHttpRequestFactory. | 
| AsyncRestTemplate(AsyncClientHttpRequestFactory asyncRequestFactory,
                 ClientHttpRequestFactory syncRequestFactory)Deprecated.  Creates a new instance of the  AsyncRestTemplateusing the given
 asynchronous and synchronous request factories. | 
| AsyncRestTemplate(AsyncClientHttpRequestFactory requestFactory,
                 RestTemplate restTemplate)Deprecated.  Create a new instance of the  AsyncRestTemplateusing the givenAsyncClientHttpRequestFactoryand synchronousRestTemplate. |