public class HttpServiceUnavailableRetryStrategy extends Object implements org.apache.http.client.ServiceUnavailableRetryStrategy
| Constructor and Description |
|---|
HttpServiceUnavailableRetryStrategy() |
HttpServiceUnavailableRetryStrategy(int maxRetries,
long retryInterval) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExecuteCount() |
long |
getRetryInterval() |
boolean |
retryRequest(org.apache.http.HttpResponse response,
int executionCount,
org.apache.http.protocol.HttpContext context) |
public HttpServiceUnavailableRetryStrategy()
public HttpServiceUnavailableRetryStrategy(int maxRetries,
long retryInterval)
public boolean retryRequest(org.apache.http.HttpResponse response,
int executionCount,
org.apache.http.protocol.HttpContext context)
retryRequest in interface org.apache.http.client.ServiceUnavailableRetryStrategypublic long getRetryInterval()
getRetryInterval in interface org.apache.http.client.ServiceUnavailableRetryStrategypublic int getExecuteCount()
Copyright © 2023. All rights reserved.