|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.http.client.AbstractClientHttpRequestFactoryWrapper org.springframework.http.client.InterceptingClientHttpRequestFactory
public class InterceptingClientHttpRequestFactory
Wrapper for a ClientHttpRequestFactory
that has support for ClientHttpRequestInterceptor
s.
Constructor Summary | |
---|---|
InterceptingClientHttpRequestFactory(ClientHttpRequestFactory requestFactory,
java.util.List<ClientHttpRequestInterceptor> interceptors)
Creates a new instance of the InterceptingClientHttpRequestFactory with the given parameters. |
Method Summary | |
---|---|
protected 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 org.springframework.http.client.AbstractClientHttpRequestFactoryWrapper |
---|
createRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterceptingClientHttpRequestFactory(ClientHttpRequestFactory requestFactory, java.util.List<ClientHttpRequestInterceptor> interceptors)
InterceptingClientHttpRequestFactory
with the given parameters.
requestFactory
- the request factory to wrapinterceptors
- the interceptors that are to be applied. Can be null
.Method Detail |
---|
protected ClientHttpRequest createRequest(java.net.URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory)
AbstractClientHttpRequestFactoryWrapper
ClientHttpRequest
for the specified URI and HTTP method by using the passed-on request
factory.
Called from AbstractClientHttpRequestFactoryWrapper.createRequest(URI, HttpMethod)
.
createRequest
in class AbstractClientHttpRequestFactoryWrapper
uri
- the URI to create a request forhttpMethod
- the HTTP method to executerequestFactory
- the wrapped request factory
|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |