|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
HttpClientConnectionManager.
@Deprecated public interface HttpRoutedConnection
Interface to access routing information of a client side connection.
| Method Summary | |
|---|---|
HttpRoute |
getRoute()
Deprecated. Obtains the current route of this connection. |
SSLSession |
getSSLSession()
Deprecated. Obtains the SSL session of the underlying connection, if any. |
boolean |
isSecure()
Deprecated. Indicates whether this connection is secure. |
| Methods inherited from interface org.apache.http.HttpInetConnection |
|---|
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort |
| Methods inherited from interface org.apache.http.HttpConnection |
|---|
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown |
| Method Detail |
|---|
boolean isSecure()
true if this connection is secure,
false otherwiseHttpRoute getRoute()
null if not connectedSSLSession getSSLSession()
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.
null otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||