Deprecated
(4.3) replaced by HttpClientConnectionManager.
| Modifier and Type | Method and Description |
|---|---|
| public HttpRoute | Returns: the route established so far, ornull if not connectedObtains the current route of this connection. |
| public SSLSession | Returns: the underlying SSL session if available,null otherwiseObtains the SSL session of the underlying connection, if any. |
| public boolean | Returns: true if this connection is secure,
false otherwiseIndicates whether this connection is secure. |
| getRoute | back to summary |
|---|---|
| public HttpRoute getRoute() Obtains the current route of this connection.
| |
| 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
Note Whether the underlying socket is an SSL socket
can not necessarily be determined via
| |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() Indicates whether this connection is secure. The return value is well-defined only while the connection is open. It may change even while the connection is open.
| |