| 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(HttpConnectionFactory<ManagedHttpClientConnection> connFactory,
           Http1Config h1Config,
           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,
       HttpHost host,
       InetSocketAddress localAddress,
       Timeout connectTimeout,
       SocketConfig socketConfig,
       Object attachment,
       HttpContext context) | 
| void | DefaultHttpClientConnectionOperator. connect(ManagedHttpClientConnection conn,
       HttpHost host,
       InetSocketAddress localAddress,
       TimeValue connectTimeout,
       SocketConfig socketConfig,
       HttpContext context) | 
| void | DefaultHttpClientConnectionOperator. upgrade(ManagedHttpClientConnection conn,
       HttpHost host,
       HttpContext context) | 
| void | DefaultHttpClientConnectionOperator. upgrade(ManagedHttpClientConnection conn,
       HttpHost host,
       Object attachment,
       HttpContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| PoolingHttpClientConnectionManagerBuilder | PoolingHttpClientConnectionManagerBuilder. setConnectionFactory(HttpConnectionFactory<ManagedHttpClientConnection> connectionFactory)Assigns  HttpConnectionFactoryinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| default void | HttpClientConnectionOperator. connect(ManagedHttpClientConnection conn,
       HttpHost host,
       InetSocketAddress localAddress,
       Timeout connectTimeout,
       SocketConfig socketConfig,
       Object attachment,
       HttpContext context)Connect the given managed connection to the remote endpoint. | 
| void | HttpClientConnectionOperator. connect(ManagedHttpClientConnection conn,
       HttpHost host,
       InetSocketAddress localAddress,
       TimeValue connectTimeout,
       SocketConfig socketConfig,
       HttpContext context)Connect the given managed connection to the remote endpoint. | 
| void | HttpClientConnectionOperator. upgrade(ManagedHttpClientConnection conn,
       HttpHost host,
       HttpContext context)Upgrades transport security of the given managed connection
 by using the TLS security protocol. | 
| default void | HttpClientConnectionOperator. upgrade(ManagedHttpClientConnection conn,
       HttpHost host,
       Object attachment,
       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.