org.apache.http.protocol.HttpResponseInterceptorList |
Known Indirect Subclasses |
Provides access to an ordered list of response interceptors.
Lists are expected to be built upfront and used read-only afterwards
for processing
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Inserts a response interceptor at the specified index.
| |||||||||||
Appends a response interceptor to this list.
| |||||||||||
Removes all response interceptors from this list.
| |||||||||||
Obtains a response interceptor from this list.
| |||||||||||
Obtains the current size of this list.
| |||||||||||
Removes all response interceptor of the specified class
| |||||||||||
Sets the response interceptors in this list.
|
Inserts a response interceptor at the specified index.
itcp | the response interceptor to add |
---|---|
index | the index to insert the interceptor at |
Appends a response interceptor to this list.
itcp | the response interceptor to add |
---|
Removes all response interceptors from this list.
Obtains a response interceptor from this list.
index | the index of the interceptor to obtain, 0 for first |
---|
null
if the index is out of range
Obtains the current size of this list.
Removes all response interceptor of the specified class
clazz | the class of the instances to be removed. |
---|
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.
itcps | the list of response interceptors |
---|