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 |
---|---|
LeaseRequest |
BasicHttpClientConnectionManager.lease(String id,
HttpRoute route,
Object state) |
LeaseRequest |
PoolingHttpClientConnectionManager.lease(String id,
HttpRoute route,
Object state) |
LeaseRequest |
BasicHttpClientConnectionManager.lease(String id,
HttpRoute route,
org.apache.hc.core5.util.Timeout requestTimeout,
Object state) |
LeaseRequest |
PoolingHttpClientConnectionManager.lease(String id,
HttpRoute route,
org.apache.hc.core5.util.Timeout requestTimeout,
Object state) |
Modifier and Type | Method and Description |
---|---|
LeaseRequest |
HttpClientConnectionManager.lease(String id,
HttpRoute route,
org.apache.hc.core5.util.Timeout requestTimeout,
Object state)
Returns a
LeaseRequest object which can be used to obtain
a ConnectionEndpoint to cancel the request by calling
Cancellable.cancel() . |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.