| org.apache.http.protocol.HttpResponseInterceptorList
All known Subclasses: org.apache.http.protocol.BasicHttpProcessor,
HttpResponseInterceptorList | public interface HttpResponseInterceptorList (Code) | | Provides access to an ordered list of response interceptors.
Lists are expected to be built upfront and used read-only afterwards
for
HttpProcessor processing .
author: Roland Weber version: $Revision: 554903 $ since: 4.0 |
addResponseInterceptor | void addResponseInterceptor(HttpResponseInterceptor itcp)(Code) | | Appends a response interceptor to this list.
Parameters: itcp - the response interceptor to add |
addResponseInterceptor | void addResponseInterceptor(HttpResponseInterceptor itcp, int index)(Code) | | Inserts a response interceptor at the specified index.
Parameters: itcp - the response interceptor to add Parameters: index - the index to insert the interceptor at |
clearResponseInterceptors | void clearResponseInterceptors()(Code) | | Removes all response interceptors from this list.
|
getResponseInterceptor | HttpResponseInterceptor getResponseInterceptor(int index)(Code) | | Obtains a response interceptor from this list.
Parameters: index - the index of the interceptor to obtain,0 for first the interceptor at the given index, ornull if the index is out of range |
getResponseInterceptorCount | int getResponseInterceptorCount()(Code) | | Obtains the current size of this list.
the number of response interceptors in this list |
removeResponseInterceptorByClass | void removeResponseInterceptorByClass(Class clazz)(Code) | | Removes all response interceptor of the specified class
Parameters: clazz - the class of the instances to be removed. |
setInterceptors | void setInterceptors(List itcps)(Code) | | Sets the response interceptors in this list.
This list will be cleared and re-initialized to contain
all response interceptors from the argument list.
If the argument list includes elements that are not response
interceptors, the behavior is implementation dependent.
Parameters: itcps - the list of response interceptors |
|
|