Deprecated
(4.3)
processing.
| Modifier and Type | Method and Description |
|---|---|
| public void | addResponseInterceptor(HttpResponseInterceptor
the response interceptor to add interceptor)Appends a response interceptor to this list. |
| public void | addResponseInterceptor(HttpResponseInterceptor
the response interceptor to add interceptor, int the index to insert the interceptor at index)Inserts a response interceptor at the specified index. |
| public void | |
| public HttpResponseInterceptor | 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 response interceptor from this list. |
| public int | Returns: the number of response interceptors in this listObtains the current size of this list. |
| public void | removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor>
the class of the instances to be removed. clazz)Removes all response interceptor of the specified class |
| public void | setInterceptors(List<?>
the list of response interceptors list)Sets the response interceptors in this list. |
| addResponseInterceptor | back to summary |
|---|---|
| public void addResponseInterceptor(HttpResponseInterceptor interceptor) Appends a response interceptor to this list.
| |
| addResponseInterceptor | back to summary |
|---|---|
| public void addResponseInterceptor(HttpResponseInterceptor interceptor, int index) Inserts a response interceptor at the specified index.
| |
| clearResponseInterceptors | back to summary |
|---|---|
| public void clearResponseInterceptors() Removes all response interceptors from this list. | |
| getResponseInterceptor | back to summary |
|---|---|
| public HttpResponseInterceptor getResponseInterceptor(int index) Obtains a response interceptor from this list.
| |
| getResponseInterceptorCount | back to summary |
|---|---|
| public int getResponseInterceptorCount() Obtains the current size of this list.
| |
| removeResponseInterceptorByClass | back to summary |
|---|---|
| public void removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz) Removes all response interceptor of the specified class
| |
| setInterceptors | back to summary |
|---|---|
| public void setInterceptors(List<?> list) 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.
| |