com.ning.http.client.resumable
Class ResumableIOExceptionFilter

java.lang.Object
  extended by 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


Constructor Summary
ResumableIOExceptionFilter()
           
 
Method Summary
 FilterContext filter(FilterContext ctx)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResumableIOExceptionFilter

public ResumableIOExceptionFilter()
Method Detail

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.