| java.lang.Object org.archive.crawler.fetcher.HeritrixHttpMethodRetryHandler
HeritrixHttpMethodRetryHandler | public class HeritrixHttpMethodRetryHandler implements HttpMethodRetryHandler(Code) | | 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'
here:
HttpClient Tutorial.
author: stack version: $Date: 2005-06-12 17:59:14 +0000 (Sun, 12 Jun 2005) $, $Revision: 3560 $ |
HeritrixHttpMethodRetryHandler | public HeritrixHttpMethodRetryHandler()(Code) | | Constructor.
|
HeritrixHttpMethodRetryHandler | public HeritrixHttpMethodRetryHandler(int maxRetryCount)(Code) | | Constructor.
Parameters: maxRetryCount - Maximum amount of times to retry. |
retryMethod | public boolean retryMethod(HttpMethod method, IOException exception, int executionCount)(Code) | | |
|
|