Package ai.vespa.util.http.hc4.retry
Class DelayedConnectionLevelRetryHandler
java.lang.Object
ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler
- All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler
@Contract(threading=IMMUTABLE)
public class DelayedConnectionLevelRetryHandler
extends Object
implements org.apache.http.client.HttpRequestRetryHandler
A
HttpRequestRetryHandler
that supports delayed retries.- Author:
- bjorncs
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
retryRequest
(IOException exception, int executionCount, org.apache.http.protocol.HttpContext ctx)
-
Method Details
-
retryRequest
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext ctx) - Specified by:
retryRequest
in interfaceorg.apache.http.client.HttpRequestRetryHandler
-