HandshakeCompletedListener (Java Platform SE 8 )
Keywords: javax.net.ssl.HandshakeCompletedListener interface
Date: 2015-07-19

compact1, compact2, compact3
javax.net.ssl

## Interface HandshakeCompletedListener

- All Superinterfaces:
    EventListener

      public interface HandshakeCompletedListener
      extends EventListener

  This interface is implemented by any class which wants to receive notifications about the completion of an SSL protocol handshake on a given SSL connection.

  When an SSL handshake completes, new security parameters will have been established. Those parameters always include the security keys used to protect messages. They may also include parameters associated with a new session such as authenticated peer identity and a new SSL cipher suite.

  Since:
    1.4

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handshakeCompleted(HandshakeCompletedEvent event)` This method is invoked on registered objects when a SSL handshake is completed.

- - ### Method Detail

    - #### handshakeCompleted

          void handshakeCompleted(HandshakeCompletedEvent event)

      This method is invoked on registered objects when a SSL handshake is completed.
      Parameters:
        `event` - the event identifying when the SSL Handshake completed on a given SSL connection

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.