Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.pool |
Client side connection pool component APIs.
|
Modifier and Type | Method and Description |
---|---|
RequesterBootstrap |
RequesterBootstrap.setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener) |
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)
Assigns
ConnPoolListener instance. |
Constructor and Description |
---|
LaxConnPool(int defaultMaxPerRoute,
TimeValue timeToLive,
PoolReusePolicy policy,
ConnPoolListener<T> connPoolListener) |
LaxConnPool(int defaultMaxPerRoute,
TimeValue timeToLive,
PoolReusePolicy policy,
DisposalCallback<C> disposalCallback,
ConnPoolListener<T> connPoolListener) |
StrictConnPool(int defaultMaxPerRoute,
int maxTotal,
TimeValue timeToLive,
PoolReusePolicy policy,
ConnPoolListener<T> connPoolListener) |
StrictConnPool(int defaultMaxPerRoute,
int maxTotal,
TimeValue timeToLive,
PoolReusePolicy policy,
DisposalCallback<C> disposalCallback,
ConnPoolListener<T> connPoolListener) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.