|
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.support.HttpAccessor
org.springframework.http.client.support.InterceptingHttpAccessor
public abstract class InterceptingHttpAccessor
Base class for RestTemplate
and other HTTP accessing gateway helpers, adding
interceptor-related properties to HttpAccessor
's common properties.
Not intended to be used directly. See RestTemplate
.
Constructor Summary | |
---|---|
InterceptingHttpAccessor()
|
Method Summary | |
---|---|
java.util.List<ClientHttpRequestInterceptor> |
getInterceptors()
Return the request interceptor that this accessor uses. |
ClientHttpRequestFactory |
getRequestFactory()
Return the request factory that this accessor uses for obtaining HttpRequests . |
void |
setInterceptors(java.util.List<ClientHttpRequestInterceptor> interceptors)
Sets the request interceptors that this accessor should use. |
Methods inherited from class org.springframework.http.client.support.HttpAccessor |
---|
createRequest, setRequestFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterceptingHttpAccessor()
Method Detail |
---|
public void setInterceptors(java.util.List<ClientHttpRequestInterceptor> interceptors)
public java.util.List<ClientHttpRequestInterceptor> getInterceptors()
public ClientHttpRequestFactory getRequestFactory()
HttpAccessor
HttpRequests
.
getRequestFactory
in class HttpAccessor
|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |