Module 

Interface SslChannel

    • Method Detail

      • startHandshake

        void startHandshake()
                     throws java.io.IOException
        Start or restart the SSL/TLS handshake. To force a complete SSL/TLS session renegotiation, the current session should be invalidated prior to calling this method. This method is not needed for the initial handshake as sending or receiving over the channel will automatically initiate it.
        Throws:
        java.io.IOException - if an I/O error occurs
      • getSslSession

        javax.net.ssl.SSLSession getSslSession()
        Get the current SSLSession for this channel.
        Returns:
        the current SSLSession
      • getHandshakeSetter

        ChannelListener.Setter<? extends SslChannel> getHandshakeSetter()
        Get the setter which can be used to change the handshake listener for this channel.
        Returns:
        the setter