ProtocolSelectionListener

cc.otavia.handler.ssl.protocol.ProtocolSelectionListener

A listener to be notified by which protocol was select by its peer. Either the unsupported() OR the selected(String) method will be called for each SSL handshake.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def select(protocol: String): Unit

Callback invoked to let this application know the protocol chosen by the peer.

Callback invoked to let this application know the protocol chosen by the peer.

Value parameters

protocol

the protocol selected by the peer. May be null or empty as supported by the application negotiation protocol.

Attributes

Throws
Exception

This may be thrown if the selected protocol is not acceptable and the desired behavior is to fail the handshake with a fatal alert.

def unsupported(): Unit

Callback invoked to let the application know that the peer does not support this

Callback invoked to let the application know that the peer does not support this

Attributes