Configuration
Contains HttpRequestRetry configurations settings.
Constructors
Functions
Specifies a constant delay between retries. This delay equals to millis + [0..randomizationMs]
milliseconds.
Specifies delay logic for retries. The block accepts the number of retries and should return the number of milliseconds to wait before retrying.
Specifies an exponential delay between retries, which is calculated using the Exponential backoff algorithm. This delay equals to base ^ retryCount * 1000 + [0..randomizationMs]
Modifies a request before retrying.
Specifies retry logic for a response. The block accepts HttpRequest and HttpResponse and should return true
if this request should be retried.
Enables retrying a request if an exception is thrown during the HttpSend phase and specifies the number of retries.
Specifies retry logic for failed requests. The block accepts HttpRequestBuilder and Throwable and should return true if this request should be retried.
Enables retrying a request if an exception is thrown during the HttpSend phase or a 5xx response is received and specifies the number of retries.
Enables retrying a request if a 5xx response is received from a server and specifies the number of retries.