| Modifier and Type | Method and Description |
|---|---|
| public Future | connect(ConnectionInitiator
the connection initiator. connectionInitiator, HttpHost the address of the opposite endpoint. host, SocketAddress the address of the local endpoint. localAddress, Timeout the timeout of the connect operation. connectTimeout, Object the attachment, which can be any object representing custom parameter
of the operation. attachment, FutureCallback<ManagedAsyncClientConnection> the future result callback. callback)Initiates operation to create a connection to the remote endpoint using
the provided |
| public default Future | connect(ConnectionInitiator
the connection initiator. connectionInitiator, HttpHost the address of the opposite endpoint. host, SocketAddress the address of the local endpoint. localAddress, Timeout the timeout of the connect operation. connectTimeout, Object the attachment, which can be any object representing custom parameter
of the operation. attachment, HttpContext the execution context. context, FutureCallback<ManagedAsyncClientConnection> the future result callback. callback)Initiates operation to create a connection to the remote endpoint using
the provided |
| public void | upgrade(ManagedAsyncClientConnection
the managed connection. conn, HttpHost the address of the opposite endpoint with TLS security. host, Object the attachment, which can be any object representing custom parameter
of the operation. attachment)Upgrades transport security of the given managed connection by using the TLS security protocol. |
| public default void | upgrade(ManagedAsyncClientConnection
the managed connection. conn, HttpHost the address of the opposite endpoint with TLS security. host, Object the attachment, which can be any object representing custom parameter
of the operation. attachment, HttpContext the execution context. context, FutureCallback<ManagedAsyncClientConnection> the future result callback. callback)Upgrades transport security of the given managed connection by using the TLS security protocol. |
| public default void | upgrade(ManagedAsyncClientConnection
the managed connection. conn, HttpHost the address of the opposite endpoint with TLS security. host, Object the attachment, which can be any object representing custom parameter
of the operation. 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 Future Initiates operation to create a connection to the remote endpoint using
the provided
| |
| connect | back to summary |
|---|---|
| public default Future Initiates operation to create a connection to the remote endpoint using
the provided
| |
| upgrade | back to summary |
|---|---|
| public void upgrade(ManagedAsyncClientConnection conn, HttpHost host, Object attachment) Upgrades transport security of the given managed connection by using the TLS security protocol.
| |
| upgrade | back to summary |
|---|---|
| public default void upgrade(ManagedAsyncClientConnection conn, HttpHost host, Object attachment, HttpContext context, FutureCallback<ManagedAsyncClientConnection> callback) Upgrades transport security of the given managed connection by using the TLS security protocol.
| |
| upgrade | back to summary |
|---|---|
| public default void upgrade(ManagedAsyncClientConnection conn, HttpHost host, Object attachment, HttpContext context) Upgrades transport security of the given managed connection by using the TLS security protocol.
| |