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