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
  • Method Details

    • retryRequest

      public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext ctx)
      Specified by:
      retryRequest in interface org.apache.http.client.HttpRequestRetryHandler