private static class HTTPSearcher.SearcherHttpRequestRetryHandler extends Object implements org.apache.http.client.HttpRequestRetryHandler
Modifier and Type | Field and Description |
---|---|
private int |
retries |
Constructor and Description |
---|
SearcherHttpRequestRetryHandler(int retries) |
Modifier and Type | Method and Description |
---|---|
boolean |
retryRequest(IOException e,
int executionCount,
org.apache.http.protocol.HttpContext httpContext) |
public SearcherHttpRequestRetryHandler(int retries)
public boolean retryRequest(IOException e, int executionCount, org.apache.http.protocol.HttpContext httpContext)
retryRequest
in interface org.apache.http.client.HttpRequestRetryHandler
Copyright © 2017. All rights reserved.