com.ning.http.client.resumable
Class ResumableIOExceptionFilter
java.lang.Object
com.ning.http.client.resumable.ResumableIOExceptionFilter
- All Implemented Interfaces:
- IOExceptionFilter
public class ResumableIOExceptionFilter
- extends Object
- implements IOExceptionFilter
Simple IOExceptionFilter
that replay the current Request
using
a ResumableAsyncHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResumableIOExceptionFilter
public ResumableIOExceptionFilter()
filter
public FilterContext filter(FilterContext ctx)
throws FilterException
- Description copied from interface:
IOExceptionFilter
- An
AsyncHttpProvider
will invoke IOExceptionFilter.filter(com.ning.http.client.filter.FilterContext)
and will
use the returned FilterContext
to replay the Request
or abort the processing.
- Specified by:
filter
in interface IOExceptionFilter
- Parameters:
ctx
- a FilterContext
- Returns:
FilterContext
. The FilterContext
instance may not the same as the original one.
- Throws:
FilterException
- to interrupt the filter processing.
Copyright © 2011. All Rights Reserved.