org.apache.commons.httpclient
Class DefaultMethodRetryHandler
- MethodRetryHandler
public class DefaultMethodRetryHandler
The default MethodRetryHandler used by HttpMethodBase.
- Michael Becke
HttpMethodBase.setMethodRetryHandler(MethodRetryHandler)
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