|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface HttpRequestInterceptorList
Provides access to an ordered list of request interceptors.
Lists are expected to be built upfront and used read-only afterwards
for processing
.
Method Summary | |
---|---|
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(Class<? extends HttpRequestInterceptor> clazz)
Deprecated. Removes all request interceptor of the specified class |
void |
setInterceptors(List<?> list)
Deprecated. Sets the request interceptors in this list. |
Method Detail |
---|
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 first
null
if the index is out of rangevoid clearRequestInterceptors()
void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz)
clazz
- the class of the instances to be removed.void setInterceptors(List<?> list)
list
- the list of request interceptors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |