@Deprecated
public interface HttpResponseInterceptorList
processing
.Modifier and Type | Method and Description |
---|---|
void |
addResponseInterceptor(HttpResponseInterceptor interceptor)
Deprecated.
Appends a response interceptor to this list.
|
void |
addResponseInterceptor(HttpResponseInterceptor interceptor,
int index)
Deprecated.
Inserts a response interceptor at the specified index.
|
void |
clearResponseInterceptors()
Deprecated.
Removes all response interceptors from this list.
|
HttpResponseInterceptor |
getResponseInterceptor(int index)
Deprecated.
Obtains a response interceptor from this list.
|
int |
getResponseInterceptorCount()
Deprecated.
Obtains the current size of this list.
|
void |
removeResponseInterceptorByClass(java.lang.Class<? extends HttpResponseInterceptor> clazz)
Deprecated.
Removes all response interceptor of the specified class
|
void |
setInterceptors(java.util.List<?> list)
Deprecated.
Sets the response interceptors in this list.
|
void addResponseInterceptor(HttpResponseInterceptor interceptor)
interceptor
- the response interceptor to addvoid addResponseInterceptor(HttpResponseInterceptor interceptor, int index)
interceptor
- the response interceptor to addindex
- the index to insert the interceptor atint getResponseInterceptorCount()
HttpResponseInterceptor getResponseInterceptor(int index)
index
- the index of the interceptor to obtain,
0 for firstnull
if the index is out of rangevoid clearResponseInterceptors()
void removeResponseInterceptorByClass(java.lang.Class<? extends HttpResponseInterceptor> clazz)
clazz
- the class of the instances to be removed.void setInterceptors(java.util.List<?> list)
list
- the list of response interceptors