|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpOutboundInterceptor
HttpOutboundInterceptor exposes to register and unregister request and response interceptors on HTTP Client connections.
Method Summary | |
---|---|
void |
addRequestInterceptor(org.apache.http.HttpRequestInterceptor interceptor)
Appends a request interceptor to this list. |
void |
addRequestInterceptor(org.apache.http.HttpRequestInterceptor interceptor,
int index)
Inserts a request interceptor at the specified index. |
void |
addResponseInterceptor(org.apache.http.HttpResponseInterceptor interceptor)
Appends a response interceptor to this list. |
void |
addResponseInterceptor(org.apache.http.HttpResponseInterceptor interceptor,
int index)
Inserts a response interceptor at the specified index. |
void |
clearRequestInterceptors()
Removes all request interceptors from this list. |
void |
clearResponseInterceptors()
Removes all response interceptors from this list. |
void |
removeRequestInterceptorByClass(java.lang.Class<? extends org.apache.http.HttpRequestInterceptor> clazz)
Removes all request interceptor of the specified class |
void |
removeResponseInterceptorByClass(java.lang.Class<? extends org.apache.http.HttpResponseInterceptor> clazz)
Removes all response interceptor of the specified class |
Method Detail |
---|
void addRequestInterceptor(org.apache.http.HttpRequestInterceptor interceptor)
interceptor
- the request interceptor to addvoid addRequestInterceptor(org.apache.http.HttpRequestInterceptor interceptor, int index)
interceptor
- the request interceptor to addindex
- the index to insert the interceptor atvoid clearRequestInterceptors()
void removeRequestInterceptorByClass(java.lang.Class<? extends org.apache.http.HttpRequestInterceptor> clazz)
clazz
- the class of the instances to be removed.void addResponseInterceptor(org.apache.http.HttpResponseInterceptor interceptor)
interceptor
- the response interceptor to addvoid addResponseInterceptor(org.apache.http.HttpResponseInterceptor interceptor, int index)
interceptor
- the response interceptor to addindex
- the index to insert the interceptor atvoid clearResponseInterceptors()
void removeResponseInterceptorByClass(java.lang.Class<? extends org.apache.http.HttpResponseInterceptor> clazz)
clazz
- the class of the instances to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |