public static interface JdkApplicationProtocolNegotiator.ProtocolSelectionListener
unsupported() OR the selected(String) method
 will be called for each SSL handshake.| Modifier and Type | Method and Description | 
|---|---|
| void | selected(java.lang.String protocol)Callback invoked to let this application know the protocol chosen by the peer. | 
| void | unsupported()Callback invoked to let the application know that the peer does not support this
  ApplicationProtocolNegotiator. | 
void unsupported()
ApplicationProtocolNegotiator.void selected(java.lang.String protocol)
       throws java.lang.Exception
protocol - the protocol selected by the peer. May be null or empty as supported by the
 application negotiation protocol.java.lang.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.Copyright © 2008–2018 The Netty Project. All rights reserved.