Interface ManagedHttpClientConnection

    • Method Detail

      • getId

        java.lang.String getId()
        Returns connection ID which is expected to be unique for the life span of the connection manager.
      • bind

        void bind​( socket)
        Binds this connection to the given socket. The connection is considered open if it is bound and the underlying socket is connection to a remote host.
        socket - the socket to bind the connection to.
      • getSocket getSocket()
        Returns the underlying socket.
      • getSSLSession 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.
        the underlying SSL session if available, null otherwise