HttpClientConnectionManager.@Deprecated public interface HttpRoutedConnection extends HttpInetConnection
| 限定符和类型 | 方法和说明 |
|---|---|
HttpRoute |
getRoute()
已过时。
Obtains the current route of this connection.
|
javax.net.ssl.SSLSession |
getSSLSession()
已过时。
Obtains the SSL session of the underlying connection, if any.
|
boolean |
isSecure()
已过时。
Indicates whether this connection is secure.
|
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePortclose, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdownboolean isSecure()
true if this connection is secure,
false otherwiseHttpRoute getRoute()
null if not connectedjavax.net.ssl.SSLSession getSSLSession()
SSLSocket, the SSL session of
that socket is obtained. This is a potentially blocking operation.
isSecure().
Plain sockets may be considered secure, for example if they are
connected to a known host in the same network segment.
On the extension hand, SSL sockets may be considered insecure,
for example depending on the chosen cipher suite.null otherwise