Class WebdavMethodRetryHandler

  • All Implemented Interfaces:
    org.apache.commons.httpclient.MethodRetryHandler

    public class WebdavMethodRetryHandler
    extends java.lang.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 Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static WebdavMethodRetryHandler getInstance()  
      boolean retryMethod​(org.apache.commons.httpclient.HttpMethod method, org.apache.commons.httpclient.HttpConnection connection, org.apache.commons.httpclient.HttpRecoverableException recoverableException, int executionCount, boolean requestSent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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