public interface RequestFilter
| Modifier and Type | Method and Description |
|---|---|
<T> FilterContext<T> |
filter(FilterContext<T> ctx)
An
AsyncHttpProvider will invoke filter(com.ning.http.client.filter.FilterContext<T>) and will use the
returned FilterContext.getRequest() and FilterContext.getAsyncHandler() to continue the request
processing. |
<T> FilterContext<T> filter(FilterContext<T> ctx) throws FilterException
AsyncHttpProvider will invoke filter(com.ning.http.client.filter.FilterContext<T>) and will use the
returned FilterContext.getRequest() and FilterContext.getAsyncHandler() to continue the request
processing.ctx - a FilterContextFilterContext. The FilterContext instance may not the same as the original one.FilterException - to interrupt the filter processing.Copyright © 2014. All Rights Reserved.