| 程序包 | 说明 |
|---|---|
| com.aliyun.httpcomponent.httpclient.implementation | |
| org.apache.hc.client5.http.impl | |
| org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
| org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SdkConnectionKeepAliveStrategy |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultConnectionKeepAliveStrategy
Default implementation of a strategy deciding duration
that a connection can remain idle.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
Assigns
ConnectionKeepAliveStrategy instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpClientBuilder |
HttpClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
Assigns
ConnectionKeepAliveStrategy instance. |
| 构造器和说明 |
|---|
MainClientExec(HttpClientConnectionManager connectionManager,
HttpProcessor httpProcessor,
ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
UserTokenHandler userTokenHandler) |
Copyright © 2023. All rights reserved.