com.ning.http.client.filter
Interface IOExceptionFilter

All Known Implementing Classes:
ResumableIOExceptionFilter

public interface IOExceptionFilter

This filter is invoked when an IOException occurs during an http transaction.


Method Summary
 FilterContext filter(FilterContext ctx)
          An AsyncHttpProvider will invoke filter(com.ning.http.client.filter.FilterContext) and will use the returned FilterContext to replay the Request or abort the processing.
 

Method Detail

filter

FilterContext filter(FilterContext ctx)
                     throws FilterException
An AsyncHttpProvider will invoke filter(com.ning.http.client.filter.FilterContext) and will use the returned FilterContext to replay the Request or abort the processing.

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 © 2012. All Rights Reserved.