org.apache.commons.vfs2.provider.webdav
Class WebdavMethodRetryHandler

java.lang.Object
  extended by org.apache.commons.vfs2.provider.webdav.WebdavMethodRetryHandler

public final class WebdavMethodRetryHandler
extends java.lang.Object

A retry handler which will retry a failed webdav method one time.
Now that webdavlib didnt support adding a MethodRetryHandler only a few operations are restartable yet.

Since:
2.0
Author:
Commons VFS team

Method Summary
static WebdavMethodRetryHandler getInstance()
           
 boolean retryMethod(HttpMethod method, java.io.IOException exception, int executionCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WebdavMethodRetryHandler getInstance()

retryMethod

public boolean retryMethod(HttpMethod method,
                           java.io.IOException exception,
                           int executionCount)