@Deprecated public class DefaultServiceUnavailableRetryStrategy extends Object implements org.apache.http.client.ServiceUnavailableRetryStrategy
ServiceUnavailableRetryStrategy
with a configurable retry interval.Constructor and Description |
---|
DefaultServiceUnavailableRetryStrategy(int retryIntervalMillis)
Deprecated.
Creates an instance of
DefaultServiceUnavailableRetryStrategy with the given retry
interval. |
Modifier and Type | Method and Description |
---|---|
long |
getRetryInterval()
Deprecated.
|
boolean |
retryRequest(org.apache.http.HttpResponse httpResponse,
int executionCount,
org.apache.http.protocol.HttpContext httpContext)
Deprecated.
|
public DefaultServiceUnavailableRetryStrategy(int retryIntervalMillis)
DefaultServiceUnavailableRetryStrategy
with the given retry
interval.public boolean retryRequest(org.apache.http.HttpResponse httpResponse, int executionCount, org.apache.http.protocol.HttpContext httpContext)
retryRequest
in interface org.apache.http.client.ServiceUnavailableRetryStrategy
public long getRetryInterval()
getRetryInterval
in interface org.apache.http.client.ServiceUnavailableRetryStrategy
Copyright © 2020 Cerner Innovation, Inc.. All rights reserved.