|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 itcp)
Appends a request interceptor to this list. |
void |
clearRequestInterceptors()
Removes all request interceptors from this list. |
HttpRequestInterceptor |
getRequestInterceptor(int index)
Obtains a request interceptor from this list. |
int |
getRequestInterceptorCount()
Obtains the current size of this list. |
void |
setInterceptors(java.util.List itcps)
Sets the request interceptors in this list. |
Method Detail |
public void addRequestInterceptor(HttpRequestInterceptor itcp)
itcp
- the request interceptor to add, or
null
to do nothingpublic int getRequestInterceptorCount()
public HttpRequestInterceptor getRequestInterceptor(int index)
index
- the index of the interceptor to obtain,
0 for first
null
if the index is out of rangepublic void clearRequestInterceptors()
public void setInterceptors(java.util.List itcps)
itcps
- the list of request interceptors
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |