public interface IOExceptionFilter
IOException
occurs during an http transaction.Modifier and Type | Method and Description |
---|---|
<T> FilterContext<T> |
filter(FilterContext<T> ctx)
An
AsyncHttpClient will invoke filter(org.asynchttpclient.filter.FilterContext<T>) and will
use the returned FilterContext to replay the Request or abort the processing. |
<T> FilterContext<T> filter(FilterContext<T> ctx) throws FilterException
AsyncHttpClient
will invoke filter(org.asynchttpclient.filter.FilterContext<T>)
and will
use the returned FilterContext
to replay the Request
or abort the processing.T
- the handler result typectx
- a FilterContext
FilterContext
. The FilterContext
instance may not the same as the original one.FilterException
- to interrupt the filter processing.Copyright © 2015. All Rights Reserved.