Package org.asynchttpclient.filter
Interface IOExceptionFilter
-
- All Known Implementing Classes:
ResumableIOExceptionFilter
public interface IOExceptionFilter
This filter is invoked when anIOException
occurs during an http transaction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> FilterContext<T>
filter(FilterContext<T> ctx)
AnAsyncHttpClient
will invokefilter(org.asynchttpclient.filter.FilterContext<T>)
and will use the returnedFilterContext
to replay theRequest
or abort the processing.
-
-
-
Method Detail
-
filter
<T> FilterContext<T> filter(FilterContext<T> ctx) throws FilterException
AnAsyncHttpClient
will invokefilter(org.asynchttpclient.filter.FilterContext<T>)
and will use the returnedFilterContext
to replay theRequest
or abort the processing.- Type Parameters:
T
- the handler result type- Parameters:
ctx
- aFilterContext
- Returns:
FilterContext
. TheFilterContext
instance may not the same as the original one.- Throws:
FilterException
- to interrupt the filter processing.
-
-