Package | Description |
---|---|
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.io |
Connection management APIs based on the classic (blocking) I/O model.
|
Constructor and Description |
---|
ProxyClient(org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory,
org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
RequestConfig requestConfig) |
Modifier and Type | Method and Description |
---|---|
ManagedHttpClientConnection |
ManagedHttpClientConnectionFactory.createConnection(Socket socket) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultHttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost host,
InetSocketAddress localAddress,
org.apache.hc.core5.util.TimeValue connectTimeout,
org.apache.hc.core5.http.io.SocketConfig socketConfig,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
DefaultHttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
InetSocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
org.apache.hc.core5.http.io.SocketConfig socketConfig,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
DefaultHttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
DefaultHttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context) |
Modifier and Type | Method and Description |
---|---|
static BasicHttpClientConnectionManager |
BasicHttpClientConnectionManager.create(org.apache.hc.core5.http.config.Lookup<TlsSocketStrategy> tlsSocketStrategyRegistry,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) |
static BasicHttpClientConnectionManager |
BasicHttpClientConnectionManager.create(SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
org.apache.hc.core5.http.config.Lookup<TlsSocketStrategy> tlsSocketStrategyRegistry,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) |
PoolingHttpClientConnectionManagerBuilder |
PoolingHttpClientConnectionManagerBuilder.setConnectionFactory(org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connectionFactory)
Assigns
HttpConnectionFactory instance. |
Constructor and Description |
---|
BasicHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) |
BasicHttpClientConnectionManager(org.apache.hc.core5.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory)
|
BasicHttpClientConnectionManager(org.apache.hc.core5.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver)
|
PoolingHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator,
org.apache.hc.core5.pool.ManagedConnPool<HttpRoute,ManagedHttpClientConnection> pool,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) |
PoolingHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator,
org.apache.hc.core5.pool.ManagedConnPool<HttpRoute,ManagedHttpClientConnection> pool,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) |
PoolingHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator,
org.apache.hc.core5.pool.PoolConcurrencyPolicy poolConcurrencyPolicy,
org.apache.hc.core5.pool.PoolReusePolicy poolReusePolicy,
org.apache.hc.core5.util.TimeValue timeToLive,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) |
PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory)
Deprecated.
|
PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.pool.PoolConcurrencyPolicy poolConcurrencyPolicy,
org.apache.hc.core5.pool.PoolReusePolicy poolReusePolicy,
org.apache.hc.core5.util.TimeValue timeToLive,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory)
Deprecated.
|
PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.pool.PoolConcurrencyPolicy poolConcurrencyPolicy,
org.apache.hc.core5.pool.PoolReusePolicy poolReusePolicy,
org.apache.hc.core5.util.TimeValue timeToLive,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory)
Deprecated.
|
PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.pool.PoolConcurrencyPolicy poolConcurrencyPolicy,
org.apache.hc.core5.util.TimeValue timeToLive,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost host,
InetSocketAddress localAddress,
org.apache.hc.core5.util.TimeValue connectTimeout,
org.apache.hc.core5.http.io.SocketConfig socketConfig,
org.apache.hc.core5.http.protocol.HttpContext context)
Connect the given managed connection to the remote endpoint.
|
default void |
HttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
InetSocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
org.apache.hc.core5.http.io.SocketConfig socketConfig,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context)
Connect the given managed connection to the remote endpoint.
|
void |
HttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.protocol.HttpContext context)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
default void |
HttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.