public abstract class InterceptingAsyncHttpAccessor extends AsyncHttpAccessor
AsyncHttpAccessor with
request intercepting functionality.logger| Constructor and Description |
|---|
InterceptingAsyncHttpAccessor() |
| Modifier and Type | Method and Description |
|---|---|
AsyncClientHttpRequestFactory |
getAsyncRequestFactory()
Return the request factory that this accessor uses for obtaining
HttpRequests. |
List<AsyncClientHttpRequestInterceptor> |
getInterceptors()
Return the request interceptor that this accessor uses.
|
void |
setInterceptors(List<AsyncClientHttpRequestInterceptor> interceptors)
Set the request interceptors that this accessor should use.
|
createAsyncRequest, setAsyncRequestFactorypublic void setInterceptors(List<AsyncClientHttpRequestInterceptor> interceptors)
interceptors - the list of interceptorspublic List<AsyncClientHttpRequestInterceptor> getInterceptors()
public AsyncClientHttpRequestFactory getAsyncRequestFactory()
AsyncHttpAccessorHttpRequests.getAsyncRequestFactory in class AsyncHttpAccessor