Deprecated
(4.3)
processing.
| Modifier and Type | Method and Description |
|---|---|
| public void | addRequestInterceptor(HttpRequestInterceptor
the request interceptor to add interceptor)Appends a request interceptor to this list. |
| public void | addRequestInterceptor(HttpRequestInterceptor
the request interceptor to add interceptor, int the index to insert the interceptor at index)Inserts a request interceptor at the specified index. |
| public void | |
| public HttpRequestInterceptor | Returns: the interceptor at the given index, ornull if the index is out of rangethe index of the interceptor to obtain,
0 for first index)Obtains a request interceptor from this list. |
| public int | Returns: the number of request interceptors in this listObtains the current size of this list. |
| public void | removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor>
the class of the instances to be removed. clazz)Removes all request interceptor of the specified class |
| public void | setInterceptors(List<?>
the list of request interceptors list)Sets the request interceptors in this list. |
| addRequestInterceptor | back to summary |
|---|---|
| public void addRequestInterceptor(HttpRequestInterceptor interceptor) Appends a request interceptor to this list.
| |
| addRequestInterceptor | back to summary |
|---|---|
| public void addRequestInterceptor(HttpRequestInterceptor interceptor, int index) Inserts a request interceptor at the specified index.
| |
| clearRequestInterceptors | back to summary |
|---|---|
| public void clearRequestInterceptors() Removes all request interceptors from this list. | |
| getRequestInterceptor | back to summary |
|---|---|
| public HttpRequestInterceptor getRequestInterceptor(int index) Obtains a request interceptor from this list.
| |
| getRequestInterceptorCount | back to summary |
|---|---|
| public int getRequestInterceptorCount() Obtains the current size of this list.
| |
| removeRequestInterceptorByClass | back to summary |
|---|---|
| public void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz) Removes all request interceptor of the specified class
| |
| setInterceptors | back to summary |
|---|---|
| public void setInterceptors(List<?> list) 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.
| |