| org.apache.http.protocol.HttpRequestInterceptorList |
Known Indirect Subclasses
|
Provides access to an ordered list of request interceptors.
Lists are expected to be built upfront and used read-only afterwards
for processing.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Inserts a request interceptor at the specified index.
| |||||||||||
Appends a request interceptor to this list.
| |||||||||||
Removes all request interceptors from this list.
| |||||||||||
Obtains a request interceptor from this list.
| |||||||||||
Obtains the current size of this list.
| |||||||||||
Removes all request interceptor of the specified class
| |||||||||||
Sets the request interceptors in this list.
| |||||||||||
Inserts a request interceptor at the specified index.
| itcp | the request interceptor to add |
|---|---|
| index | the index to insert the interceptor at |
Appends a request interceptor to this list.
| itcp | the request interceptor to add |
|---|
Removes all request interceptors from this list.
Obtains a request 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 request interceptor of the specified class
| clazz | the class of the instances to be removed. |
|---|
Sets the request interceptors in this list. This list will be cleared and re-initialized to contain all request interceptors from the argument list. If the argument list includes elements that are not request interceptors, the behavior is implementation dependent.
| itcps | the list of request interceptors |
|---|