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
AHttpRequestRetryHandler
that supports delayed retries.- Author:
- bjorncs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DelayedConnectionLevelRetryHandler.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext ctx)
-
-
-
Method Detail
-
retryRequest
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext ctx)
- Specified by:
retryRequest
in interfaceorg.apache.http.client.HttpRequestRetryHandler
-
-