| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.impl | |
| org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
ConnPoolSupport.formatStats(HttpRoute route,
Object state,
ConnPoolControl<HttpRoute> connPool) |
| 构造器和说明 |
|---|
IdleConnectionEvictor(ConnPoolControl<?> connectionManager,
ThreadFactory threadFactory,
TimeValue sleepTime,
TimeValue maxIdleTime) |
IdleConnectionEvictor(ConnPoolControl<?> connectionManager,
TimeValue maxIdleTime) |
IdleConnectionEvictor(ConnPoolControl<?> connectionManager,
TimeValue sleepTime,
TimeValue maxIdleTime) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ConnPoolControl<HttpRoute> |
AbstractBackoff.getConnPerRoute()
Returns the connection pool control for managing the maximum number of connections per route.
|
| 构造器和说明 |
|---|
AbstractBackoff(ConnPoolControl<HttpRoute> connPerRoute)
Constructs a new ExponentialBackoffManager with the specified connection pool control.
|
AIMDBackoffManager(ConnPoolControl<HttpRoute> connPerRoute)
|
ExponentialBackoffManager(ConnPoolControl<HttpRoute> connPerRoute)
Constructs a new ExponentialBackoffManager with the specified connection pool control.
|
LinearBackoffManager(ConnPoolControl<HttpRoute> connPoolControl)
Constructs a new LinearBackoffManager with the specified connection pool control.
|
LinearBackoffManager(ConnPoolControl<HttpRoute> connPoolControl,
int increment)
Constructs a new LinearBackoffManager with the specified connection pool control and backoff increment.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConnPoolControl<HttpHost> |
HttpRequester.getConnPoolControl() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
H2AsyncRequester
Client side message exchange initiator capable of negotiating
HTTP/2 or HTTP/1.1 compatible connections.
|
| 限定符和类型 | 接口和说明 |
|---|---|
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.
|
Copyright © 2023. All rights reserved.