Package | Description |
---|---|
org.apache.hc.client5.http.impl.io |
Client connection management functions based the classic
connection management APIs.
|
org.apache.hc.client5.http.io |
Connection management APIs based on the classic (blocking) I/O model.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicHttpClientConnectionManager.connect(ConnectionEndpoint endpoint,
org.apache.hc.core5.util.TimeValue timeout,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
PoolingHttpClientConnectionManager.connect(ConnectionEndpoint endpoint,
org.apache.hc.core5.util.TimeValue timeout,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
BasicHttpClientConnectionManager.release(ConnectionEndpoint endpoint,
Object state,
org.apache.hc.core5.util.TimeValue keepAlive) |
void |
PoolingHttpClientConnectionManager.release(ConnectionEndpoint endpoint,
Object state,
org.apache.hc.core5.util.TimeValue keepAlive) |
void |
BasicHttpClientConnectionManager.upgrade(ConnectionEndpoint endpoint,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
PoolingHttpClientConnectionManager.upgrade(ConnectionEndpoint endpoint,
org.apache.hc.core5.http.protocol.HttpContext context) |
Modifier and Type | Method and Description |
---|---|
ConnectionEndpoint |
LeaseRequest.get(org.apache.hc.core5.util.Timeout timeout)
Returns
ConnectionEndpoint within a given time. |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientConnectionManager.connect(ConnectionEndpoint endpoint,
org.apache.hc.core5.util.TimeValue connectTimeout,
org.apache.hc.core5.http.protocol.HttpContext context)
Connects the endpoint to the initial hop (connection target in case
of a direct route or to the first proxy hop in case of a route via a proxy
or multiple proxies).
|
void |
HttpClientConnectionManager.release(ConnectionEndpoint endpoint,
Object newState,
org.apache.hc.core5.util.TimeValue validDuration)
Releases the endpoint back to the manager making it potentially
re-usable by other consumers.
|
void |
HttpClientConnectionManager.upgrade(ConnectionEndpoint endpoint,
org.apache.hc.core5.http.protocol.HttpContext context)
Upgrades transport security of the given endpoint by using the TLS security protocol.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.