Interface ALPNEngineManager

    • Method Detail

      • getPriority

        int getPriority()
        Returns:
        The priority of this provider, higher priority managers will be tried first
      • registerEngine

        boolean registerEngine​(javax.net.ssl.SSLEngine engine,
                               java.util.function.Function<javax.net.ssl.SSLEngine,​javax.net.ssl.SSLEngine> selectedFunction)
        Parameters:
        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
        Returns:
        true if the engine was registered, false otherwise