Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setPoolReusePolicy(PoolReusePolicy poolReusePolicy)
Assigns
PoolReusePolicy instance. |
RequesterBootstrap |
RequesterBootstrap.setPoolReusePolicy(PoolReusePolicy poolReusePolicy) |
Modifier and Type | Method and Description |
---|---|
H2RequesterBootstrap |
H2RequesterBootstrap.setPoolReusePolicy(PoolReusePolicy poolReusePolicy)
Assigns
PoolReusePolicy instance. |
Modifier and Type | Method and Description |
---|---|
static PoolReusePolicy |
PoolReusePolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PoolReusePolicy[] |
PoolReusePolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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–2022 The Apache Software Foundation. All rights reserved.