Example usage for javax.net.ssl HandshakeCompletedListener interface-usage

List of usage examples for javax.net.ssl HandshakeCompletedListener interface-usage

Introduction

In this page you can find the example usage for javax.net.ssl HandshakeCompletedListener interface-usage.

Usage

From source file MyHandshakeListener.java

class MyHandshakeListener implements HandshakeCompletedListener {
    public void handshakeCompleted(HandshakeCompletedEvent e) {
        System.out.println("Using cipher suite: " + e.getCipherSuite());
    }
}

From source file MainClass.java

class MyHandshakeListener implements HandshakeCompletedListener {
    public void handshakeCompleted(HandshakeCompletedEvent e) {
        System.out.println("Handshake succesful!");
        System.out.println("Using cipher suite: " + e.getCipherSuite());
    }
}

From source file com.apporiented.hermesftp.cmd.impl.FtpCmdAuth.java

/**
 * <b>AUTHENTICATION/SECURITY MECHANISM (AUTH)</b>
 * <p>
 * The argument field is a Telnet string identifying a supported mechanism. This string is
 * case-insensitive. Values must be registered with the IANA, except that values beginning with "X-"
 * are reserved for local use.

From source file org.mule.transport.http.HttpServerConnection.java

/**
 * A connection to the SimpleHttpServer.
 */
public class HttpServerConnection implements HandshakeCompletedListener {

    private static final Log logger = LogFactory.getLog(HttpServerConnection.class);