| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.impl.io |
Client connection management functions based the classic
connection management APIs.
|
| org.apache.hc.client5.http.impl.nio |
Client connection management functions based the asynchronous
connection management APIs.
|
| org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
| org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
| org.apache.hc.core5.pool |
Client side connection pool component APIs.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PoolingHttpClientConnectionManager
ClientConnectionPoolManager maintains a pool of
ManagedHttpClientConnections and is able to service connection requests
from multiple execution threads. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PoolingAsyncClientConnectionManager
PoolingAsyncClientConnectionManager maintains a pool of non-blocking
HttpConnections and is able to service
connection requests from multiple execution threads. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HttpAsyncRequester
HTTP/1.1 client side message exchange initiator.
|
class |
HttpRequester
HTTP/1.1 client side message exchange initiator.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
H2AsyncRequester
Client side message exchange initiator capable of negotiating
HTTP/2 or HTTP/1.1 compatible connections.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ConnPoolControl<T>
Interface to control runtime properties of a
ConnPool such as
maximum total number of connections or maximum connections per route
allowed. |
interface |
ManagedConnPool<T,C extends ModalCloseable>
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
LaxConnPool<T,C extends ModalCloseable>
Connection pool with higher concurrency but with lax connection limit guarantees.
|
class |
StrictConnPool<T,C extends ModalCloseable>
Connection pool with strict connection limit guarantees.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConnPoolListener.onLease(T route,
ConnPoolStats<T> connPoolStats) |
void |
ConnPoolListener.onRelease(T route,
ConnPoolStats<T> connPoolStats) |
Copyright © 2023. All rights reserved.