com.ning.http.client.filter.ResponseFilter |
A Filter interface that gets invoked before making the processing of the response bytes. ResponseFilter
are invoked
before the actual response's status code get processed. That means authorization, proxy authentication and redirects
processing hasn't occured when ResponseFilter
gets invoked.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
An
AsyncHttpProvider will invoke filter(FilterContext) and will use the
returned replayRequest() and getAsyncHandler() to decide if the response
processing can continue. |
An AsyncHttpProvider
will invoke filter(FilterContext)
and will use the
returned replayRequest()
and getAsyncHandler()
to decide if the response
processing can continue. If replayRequest()
return true, a new request will be made
using getRequest()
and the current response processing will be ignored.
ctx | a FilterContext |
---|
FilterContext
. The FilterContext
instance may not the same as the original one.FilterException | to interrupt the filter processing. |
---|