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