org.apache.commons.httpclient
Class DefaultMethodRetryHandler
java.lang.Object
org.apache.commons.httpclient.DefaultMethodRetryHandler
- MethodRetryHandler
public class DefaultMethodRetryHandler
extends java.lang.Object
The default MethodRetryHandler used by HttpMethodBase.
DefaultMethodRetryHandler
public DefaultMethodRetryHandler()
getRetryCount
public int getRetryCount()
- the maximum number of times a method will be retried
isRequestSentRetryEnabled
public boolean isRequestSentRetryEnabled()
true
if this handler will retry methods that have
successfully sent their request, false
otherwise
setRequestSentRetryEnabled
public void setRequestSentRetryEnabled(boolean requestSentRetryEnabled)
requestSentRetryEnabled
- a flag indicating if methods that have
successfully sent their request should be retried
setRetryCount
public void setRetryCount(int retryCount)
retryCount
- the maximum number of times a method can be retried
Copyright (c) 1999-2005 - Apache Software Foundation