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 void | |
| public Socket | |
| public SSLSession | Returns: the underlying SSL session if available,null otherwiseRedeclares org. |
| public void |
| activate | back to summary |
|---|---|
| public void activate() Restores the connection from idle mode.
| |
| 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.
| |
| getSocket | back to summary |
|---|---|
| public Socket getSocket() Returns the underlying socket. | |
| getSSLSession | back to summary |
|---|---|
| public SSLSession getSSLSession() Redeclares org. Obtains the SSL session of the underlying connection, if any.
If this connection is open, and the underlying socket is an
| |
| passivate | back to summary |
|---|---|
| public void passivate() Puts the connection into idle mode.
| |