Interface ServerSideNegotiator


public interface ServerSideNegotiator
Provides a set of callbacks that will be invoked when negotiation NPN on the server side.
  • Method Details

    • supportedProtocols

      LinkedHashSet<String> supportedProtocols(SSLEngine engine)
      Returns:
      a LinkedHashSet of protocols that will be advertised to the client.
    • onSuccess

      void onSuccess(SSLEngine engine, String protocol)
      Invoked when the client selects one of the supported protocols.
    • onNoDeal

      void onNoDeal(SSLEngine engine)
      Invoked when the client selects none of the supported protocols.