public abstract class AbstractClientHttpRequestFactoryWrapper extends Object implements ClientHttpRequestFactory
ClientHttpRequestFactory implementations
 that decorate another request factory.| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractClientHttpRequestFactoryWrapper(ClientHttpRequestFactory requestFactory)Create a  AbstractClientHttpRequestFactoryWrapperwrapping the given request factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| ClientHttpRequest | createRequest(URI uri,
             HttpMethod httpMethod)This implementation simply calls  createRequest(URI, HttpMethod, ClientHttpRequestFactory)with the wrapped request factory provided to the
 constructor. | 
| protected abstract ClientHttpRequest | createRequest(URI uri,
             HttpMethod httpMethod,
             ClientHttpRequestFactory requestFactory)Create a new  ClientHttpRequestfor the specified URI and HTTP method
 by using the passed-on request factory. | 
protected AbstractClientHttpRequestFactoryWrapper(ClientHttpRequestFactory requestFactory)
AbstractClientHttpRequestFactoryWrapper wrapping the given request factory.requestFactory - the request factory to be wrappedpublic final ClientHttpRequest createRequest(URI uri, HttpMethod httpMethod) throws IOException
createRequest(URI, HttpMethod, ClientHttpRequestFactory)
 with the wrapped request factory provided to the
 constructor.createRequest in interface ClientHttpRequestFactoryuri - the URI to create a request forhttpMethod - the HTTP method to executeIOException - in case of I/O errorsprotected abstract ClientHttpRequest createRequest(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) throws IOException
ClientHttpRequest for the specified URI and HTTP method
 by using the passed-on request factory.
 Called from createRequest(URI, HttpMethod).
uri - the URI to create a request forhttpMethod - the HTTP method to executerequestFactory - the wrapped request factoryIOException - in case of I/O errors