|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 itcp)
Appends a response interceptor to this list. |
void |
clearResponseInterceptors()
Removes all response interceptors from this list. |
HttpResponseInterceptor |
getResponseInterceptor(int index)
Obtains a response interceptor from this list. |
int |
getResponseInterceptorCount()
Obtains the current size of this list. |
void |
setInterceptors(java.util.List itcps)
Sets the response interceptors in this list. |
Method Detail |
---|
void addResponseInterceptor(HttpResponseInterceptor itcp)
itcp
- the response interceptor to add, or
null
to do nothingint 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 setInterceptors(java.util.List itcps)
itcps
- the list of response interceptors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |