Class DefaultAlpnEngineManager

    • Constructor Detail

      • DefaultAlpnEngineManager

        public DefaultAlpnEngineManager()
    • Method Detail

      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface ALPNEngineManager
        The priority of this provider, higher priority managers will be tried first
      • registerEngine

        public boolean registerEngine​(SSLEngine engine,
                                      Function<SSLEngine,​SSLEngine> selectedFunction)
        Specified by:
        registerEngine in interface ALPNEngineManager
        engine - The original SSL Engine
        selectedFunction - A function that must be called when the Underlying SSL engine has been selected. The return value of this callback may be a wrapped engine, which must replace the selected engine
        true if the engine was registered, false otherwise