Class WebdavMethodRetryHandler

java.lang.Object
org.apache.commons.vfs.provider.webdav.WebdavMethodRetryHandler
All Implemented Interfaces:
org.apache.commons.httpclient.MethodRetryHandler

public class WebdavMethodRetryHandler extends Object implements org.apache.commons.httpclient.MethodRetryHandler
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.
Version:
$Revision: 452605 $ $Date: 2006-10-03 21:49:25 +0200 (Tue, 03 Oct 2006) $
Author:
Mario Ivankovits
  • Method Details

    • getInstance

      public static WebdavMethodRetryHandler getInstance()
    • retryMethod

      public boolean retryMethod(org.apache.commons.httpclient.HttpMethod method, org.apache.commons.httpclient.HttpConnection connection, org.apache.commons.httpclient.HttpRecoverableException recoverableException, int executionCount, boolean requestSent)
      Specified by:
      retryMethod in interface org.apache.commons.httpclient.MethodRetryHandler