Class WebdavMethodRetryHandler
- java.lang.Object
-
- org.apache.commons.vfs.provider.webdav.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)
-
-
-
Method Detail
-
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 interfaceorg.apache.commons.httpclient.MethodRetryHandler
-
-