public class NoopRetryStrategy extends Object implements org.apache.hc.client5.http.HttpRequestRetryStrategy
| 限定符和类型 | 字段和说明 |
|---|---|
static org.apache.hc.client5.http.HttpRequestRetryStrategy |
INSTANCE |
| 构造器和说明 |
|---|
NoopRetryStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.hc.core5.util.TimeValue |
getRetryInterval(org.apache.hc.core5.http.HttpResponse response,
int execCount,
org.apache.hc.core5.http.protocol.HttpContext context) |
boolean |
retryRequest(org.apache.hc.core5.http.HttpRequest request,
IOException exception,
int execCount,
org.apache.hc.core5.http.protocol.HttpContext context) |
boolean |
retryRequest(org.apache.hc.core5.http.HttpResponse response,
int execCount,
org.apache.hc.core5.http.protocol.HttpContext context) |
public boolean retryRequest(org.apache.hc.core5.http.HttpRequest request,
IOException exception,
int execCount,
org.apache.hc.core5.http.protocol.HttpContext context)
retryRequest 在接口中 org.apache.hc.client5.http.HttpRequestRetryStrategypublic boolean retryRequest(org.apache.hc.core5.http.HttpResponse response,
int execCount,
org.apache.hc.core5.http.protocol.HttpContext context)
retryRequest 在接口中 org.apache.hc.client5.http.HttpRequestRetryStrategypublic org.apache.hc.core5.util.TimeValue getRetryInterval(org.apache.hc.core5.http.HttpResponse response,
int execCount,
org.apache.hc.core5.http.protocol.HttpContext context)
getRetryInterval 在接口中 org.apache.hc.client5.http.HttpRequestRetryStrategyCopyright © 2026. All rights reserved.