public static interface JdkApplicationProtocolNegotiator.ProtocolSelectionListener
|Modifier and Type||Method and Description|
Callback invoked to let this application know the protocol chosen by the peer.
Callback invoked to let the application know that the peer does not support this
protocol- the protocol selected by the peer. May be
nullor empty as supported by the application negotiation protocol.
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–2023 The Netty Project. All rights reserved.