|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestFilter
A Filter interface that gets invoked before making an actual request.
Method Summary | |
---|---|
FilterContext |
filter(FilterContext ctx)
An AsyncHttpProvider will invoke filter(com.ning.http.client.filter.FilterContext) and will use the
returned FilterContext.getRequest() and FilterContext.getAsyncHandler() to continue the request
processing. |
Method Detail |
---|
FilterContext filter(FilterContext ctx) throws FilterException
AsyncHttpProvider
will invoke filter(com.ning.http.client.filter.FilterContext)
and will use the
returned FilterContext.getRequest()
and FilterContext.getAsyncHandler()
to continue the request
processing.
ctx
- a FilterContext
FilterContext
. The FilterContext
instance may not the same as the original one.
FilterException
- to interrupt the filter processing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |