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 |
HttpComponentsAsyncClientHttpRequestFactory
Deprecated.
as of Spring 5.0, with no direct replacement
|
class |
InterceptingAsyncClientHttpRequestFactory
Deprecated.
as of Spring 5.0, with no direct replacement
|
class |
Netty4ClientHttpRequestFactory
Deprecated.
as of Spring 5.0, in favor of
ReactorClientHttpConnector |
class |
OkHttp3ClientHttpRequestFactory
ClientHttpRequestFactory implementation that uses
OkHttp 3.x to create requests. |
class |
SimpleClientHttpRequestFactory
ClientHttpRequestFactory implementation that uses standard JDK facilities. |
Constructor and Description |
---|
InterceptingAsyncClientHttpRequestFactory(AsyncClientHttpRequestFactory delegate,
java.util.List<AsyncClientHttpRequestInterceptor> interceptors)
Deprecated.
Create new instance of
InterceptingAsyncClientHttpRequestFactory
with delegated request factory and list of interceptors. |
Modifier and Type | Method and Description |
---|---|
AsyncClientHttpRequestFactory |
AsyncHttpAccessor.getAsyncRequestFactory()
Deprecated.
Return the request factory that this accessor uses for obtaining
HttpRequests . |
AsyncClientHttpRequestFactory |
InterceptingAsyncHttpAccessor.getAsyncRequestFactory()
Deprecated.
|
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 |
MockMvcClientHttpRequestFactory
A
ClientHttpRequestFactory for requests executed via MockMvc . |
Constructor and Description |
---|
AsyncRestTemplate(AsyncClientHttpRequestFactory asyncRequestFactory)
Deprecated.
Create a new instance of the
AsyncRestTemplate using the given
AsyncClientHttpRequestFactory . |
AsyncRestTemplate(AsyncClientHttpRequestFactory asyncRequestFactory,
ClientHttpRequestFactory syncRequestFactory)
Deprecated.
Creates a new instance of the
AsyncRestTemplate using the given
asynchronous and synchronous request factories. |
AsyncRestTemplate(AsyncClientHttpRequestFactory requestFactory,
RestTemplate restTemplate)
Deprecated.
Create a new instance of the
AsyncRestTemplate using the given
AsyncClientHttpRequestFactory and synchronous RestTemplate . |