| Modifier and Type | Method and Description |
|---|---|
| public void | connect(ManagedHttpClientConnection
the managed connection. conn, HttpHost the address of the opposite endpoint. host, InetSocketAddress the address of the local endpoint. localAddress, TimeValue the timeout of the connect operation. connectTimeout, SocketConfig the socket configuration. socketConfig, HttpContext the execution context. context)Connect the given managed connection to the remote endpoint. |
| public default void | connect(ManagedHttpClientConnection
the managed connection. conn, HttpHost the address of the opposite endpoint. host, InetSocketAddress the address of the local endpoint. localAddress, Timeout the timeout of the connect operation. connectTimeout, SocketConfig the socket configuration. socketConfig, Object connect request attachment. attachment, HttpContext the execution context. context)Connect the given managed connection to the remote endpoint. |
| public void | upgrade(ManagedHttpClientConnection
the managed connection. conn, HttpHost the address of the opposite endpoint with TLS security. host, HttpContext the execution context. context)Upgrades transport security of the given managed connection by using the TLS security protocol. |
| public default void | upgrade(ManagedHttpClientConnection
the managed connection. conn, HttpHost the address of the opposite endpoint with TLS security. host, Object connect request attachment. attachment, HttpContext the execution context. context)Upgrades transport security of the given managed connection by using the TLS security protocol. |
| connect | back to summary |
|---|---|
| public void connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, TimeValue connectTimeout, SocketConfig socketConfig, HttpContext context) throws IOException Connect the given managed connection to the remote endpoint.
| |
| connect | back to summary |
|---|---|
| public default void connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, Timeout connectTimeout, SocketConfig socketConfig, Object attachment, HttpContext context) throws IOException Connect the given managed connection to the remote endpoint.
| |
| upgrade | back to summary |
|---|---|
| public void upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context) throws IOException Upgrades transport security of the given managed connection by using the TLS security protocol.
| |
| upgrade | back to summary |
|---|---|
| public default void upgrade(ManagedHttpClientConnection conn, HttpHost host, Object attachment, HttpContext context) throws IOException Upgrades transport security of the given managed connection by using the TLS security protocol.
| |