| java.lang.Object | |
| ↳ | org.springframework.http.client.InterceptingClientHttpRequestFactory |
Wrapper for a ClientHttpRequestFactory that has support for ClientHttpRequestInterceptors.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of the
InterceptingClientHttpRequestFactory with the given parameters. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
ClientHttpRequest for the specified URI and HTTP method. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.http.client.ClientHttpRequestFactory
| |||||||||||
Creates a new instance of the InterceptingClientHttpRequestFactory with the given parameters.
| requestFactory | the request factory to wrap |
|---|---|
| interceptors | the interceptors that are to be applied. Can be null.
|
Create a new ClientHttpRequest for the specified URI and HTTP method.
The returned request can be written to, and then executed by calling
execute().
| uri | the URI to create a request for |
|---|---|
| httpMethod | the HTTP method to execute |
| IOException |
|---|