public interface RequestFilter
Modifier and Type | Method and Description |
---|---|
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. |
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.Copyright © 2014. All Rights Reserved.