List of usage examples for org.apache.commons.httpclient HttpMethodRetryHandler interface-usage
From source file org.jppf.example.webcrawler.JPPFMethodExceptionHandler.java
/** * Retry handler used when a request results in an IO exception. * @author Laurent Cohen */ public class JPPFMethodExceptionHandler implements HttpMethodRetryHandler { /**
From source file com.yufei.dataget.utils.BaiheHtmlClientRetryHandler.java
/** * * @author jasstion */ public class BaiheHtmlClientRetryHandler implements HttpMethodRetryHandler {
From source file org.archive.wayback.liveweb.NoRetryHandler.java
public class NoRetryHandler implements HttpMethodRetryHandler { public boolean retryMethod(HttpMethod arg0, IOException arg1, int arg2) { return false; } }
From source file com.datos.vfs.provider.webdav.WebdavMethodRetryHandler.java
/**
* A retry handler which will retry a failed webdav method one time.
* <p>
* Now that webdavlib didnt support adding a MethodRetryHandler only a few operations are restartable yet.
*
* @since 2.0
From source file com.basho.riak.client.http.util.logging.LogNoHttpResponseRetryHandler.java
/**
* An {@link HttpMethodRetryHandler} that delegates directly to the
* {@link DefaultHttpMethodRetryHandler}, after first checking the
* {@link IOException} type and flushing the {@link InMemoryAppender} if
* required.
*
From source file org.colombbus.tangara.net.HttpConnRetryHandler.java
/**
* A simple handler of HTTP reconnection.
* <p>
* It is based on a simple retry count. If the number of retries is greater than
* a specified value, the handler gives-up.
* </p>
From source file ch.ksfx.web.services.spidering.http.KsfxHttpRetryHandler.java
public class KsfxHttpRetryHandler implements HttpMethodRetryHandler { private int retryCount; private int retryDelay; private Logger logger = Logger.getLogger("LambaHttpRetryHandler.class"); public KsfxHttpRetryHandler(int retryCount, int retryDelay) {
From source file org.archive.modules.fetcher.HeritrixHttpMethodRetryHandler.java
/**
* Retry handler that tries ten times to establish connection and then once
* established, if a GET method, tries ten times to get response (If POST,
* it tries once only).
*
* Its unsafe retrying POSTs. See 'Rule of Thumb' under 'Method Recovery'
From source file org.archive.crawler.fetcher.HeritrixHttpMethodRetryHandler.java
/**
* Retry handler that tries ten times to establish connection and then once
* established, if a GET method, tries ten times to get response (If POST,
* it tries once only).
*
* Its unsafe retrying POSTs. See 'Rule of Thumb' under 'Method Recovery'
From source file com.cyberway.issue.crawler.fetcher.HeritrixHttpMethodRetryHandler.java
/**
* Retry handler that tries ten times to establish connection and then once
* established, if a GET method, tries ten times to get response (If POST,
* it tries once only).
*
* Its unsafe retrying POSTs. See 'Rule of Thumb' under 'Method Recovery'