Class WebdavMethodRetryHandler
java.lang.Object
org.apache.commons.vfs2.provider.webdav.WebdavMethodRetryHandler
- All Implemented Interfaces:
org.apache.commons.httpclient.HttpMethodRetryHandler
public final class WebdavMethodRetryHandler
extends Object
implements org.apache.commons.httpclient.HttpMethodRetryHandler
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic WebdavMethodRetryHandler
Gets the singleton instance.boolean
retryMethod
(org.apache.commons.httpclient.HttpMethod method, IOException exception, int executionCount)
-
Method Details
-
getInstance
Gets the singleton instance.- Returns:
- the singleton instance.
-
retryMethod
public boolean retryMethod(org.apache.commons.httpclient.HttpMethod method, IOException exception, int executionCount) - Specified by:
retryMethod
in interfaceorg.apache.commons.httpclient.HttpMethodRetryHandler
-