org.apache.http.conn
Interface ManagedHttpClientConnection
- All Superinterfaces:
- Closeable, HttpClientConnection, HttpConnection, HttpInetConnection
- All Known Subinterfaces:
- ManagedClientConnection
- All Known Implementing Classes:
- AbstractClientConnAdapter, AbstractPooledConnAdapter, BasicPooledConnAdapter, DefaultClientConnection, SingleClientConnManager.ConnAdapter
public interface ManagedHttpClientConnection
- extends HttpClientConnection, HttpInetConnection
Extended interface that exposes Socket
bind method and SSL session details.
- Since:
- 4.3
getId
String getId()
bind
void bind(Socket socket)
throws IOException
- Throws:
IOException
getSocket
Socket getSocket()
getSSLSession
SSLSession getSSLSession()
- 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.
- Returns:
- the underlying SSL session if available,
null
otherwise
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.