|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 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 |
---|
void addRequestInterceptor(HttpRequestInterceptor itcp)
itcp
- the request interceptor to add, or
null
to do nothingint 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 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 |