|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.http.client.AbstractClientHttpRequestFactoryWrapper
public abstract class AbstractClientHttpRequestFactoryWrapper
Abstract base class for ClientHttpRequestFactory
implementations that decorate another request factory.
Constructor Summary | |
---|---|
protected |
AbstractClientHttpRequestFactoryWrapper(ClientHttpRequestFactory requestFactory)
Creates a AbstractClientHttpRequestFactoryWrapper wrapping the given request factory. |
Method Summary | |
---|---|
ClientHttpRequest |
createRequest(java.net.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(java.net.URI uri,
HttpMethod httpMethod,
ClientHttpRequestFactory requestFactory)
Create a new ClientHttpRequest for the specified URI and HTTP method by using the passed-on request
factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractClientHttpRequestFactoryWrapper(ClientHttpRequestFactory requestFactory)
AbstractClientHttpRequestFactoryWrapper
wrapping the given request factory.
requestFactory
- the request factory to be wrappedMethod Detail |
---|
public final ClientHttpRequest createRequest(java.net.URI uri, HttpMethod httpMethod) throws java.io.IOException
createRequest(URI, HttpMethod, ClientHttpRequestFactory)
with the
wrapped request factory provided to the
constructor.
createRequest
in interface ClientHttpRequestFactory
uri
- the URI to create a request forhttpMethod
- the HTTP method to execute
java.io.IOException
- in case of I/O errorsprotected abstract ClientHttpRequest createRequest(java.net.URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) throws java.io.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 factory
java.io.IOException
- in case of I/O errors
|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |