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

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

public final 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: 764356 $ $Date: 2009-04-13 06:06:01 +0200 (Mo, 13. Apr 2009) $
Author:
Commons VFS team

Method Summary
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

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


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.