HttpClientConnection
with methods to bind the connection to an arbitrary socket and
to obtain SSL session details.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String | getId()
Returns connection ID which is expected to be unique for the life span of the connection manager. |
| public Socket | |
| public SSLSession | Returns: the underlying SSL session if available,null otherwiseObtains the SSL session of the underlying connection, if any. |
| bind | back to summary |
|---|---|
| public void bind(Socket socket) throws IOException Binds this connection to the given socket. The connection is considered open if it is bound and the underlying socket is connection to a remote host.
| |
| getId | back to summary |
|---|---|
| public String getId() Returns connection ID which is expected to be unique for the life span of the connection manager. | |
| getSocket | back to summary |
|---|---|
| public Socket getSocket() Returns the underlying socket. | |
| getSSLSession | back to summary |
|---|---|
| public SSLSession getSSLSession() Obtains the SSL session of the underlying connection, if any.
If this connection is open, and the underlying socket is an
| |