| 软件包 | 描述 |
|---|---|
| org.apache.http.impl.client |
默认HTTP客户端实现。
|
| org.apache.http.impl.execchain |
HTTP请求执行链API。
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultBackoffStrategy
此 ConnectionBackoffStrategy退出原始网络套接字或连接超时,或者服务器显式发送503(服务不可用)响应。
|
class |
NullBackoffStrategy
这是一个永远不会退出的 ConnectionBackoffStrategy ,以满足现有行为。
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionBackoffStrategy |
AbstractHttpClient.getConnectionBackoffStrategy()
已过时。
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractHttpClient.setConnectionBackoffStrategy(ConnectionBackoffStrategy strategy)
已过时。
|
HttpClientBuilder |
HttpClientBuilder.setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)
Assigns
ConnectionBackoffStrategy instance.
|
| Constructor and Description |
|---|
BackoffStrategyExec(ClientExecChain requestExecutor, ConnectionBackoffStrategy connectionBackoffStrategy, BackoffManager backoffManager) |
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.