- All Known Subinterfaces:
- All Known Implementing Classes:
@Deprecated public interface HttpRoutedConnection extends HttpInetConnectionDeprecated.(4.3) replaced by
HttpClientConnectionManager.Interface to access routing information of a client side connection.
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description
getRoute()Deprecated.Obtains the current route of this connection.
getSSLSession()Deprecated.Obtains the SSL session of the underlying connection, if any.
isSecure()Deprecated.Indicates whether this connection is secure.
Methods inherited from interface org.apache.http.HttpConnection
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
boolean isSecure()Deprecated.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.
trueif this connection is secure,
HttpRoute getRoute()Deprecated.Obtains the current route of this connection.
- the route established so far, or
nullif not connected
SSLSession getSSLSession()Deprecated.Obtains the SSL session of the underlying connection, if any. If this connection is open, and the underlying socket is an
SSLSocket, the SSL session of that socket is obtained. This is a potentially blocking operation.
Note: Whether the underlying socket is an SSL socket can not necessarily be determined via
isSecure(). Plain sockets may be considered secure, for example if they are connected to a known host in the same network segment. On the other hand, SSL sockets may be considered insecure, for example depending on the chosen cipher suite.
- the underlying SSL session if available,