Interface SslClientConnectionFactory.SslEngineFactory

  • Enclosing class:
    SslClientConnectionFactory

    @Deprecated(since="2021-05-27")
    public static interface SslClientConnectionFactory.SslEngineFactory
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    A factory for SSLEngine objects.

    Typically implemented by SslContextFactory.Client to support more flexible creation of SSLEngine instances.

    • Method Detail

      • newSslEngine

        SSLEngine newSslEngine​(String host,
                               int port,
                               Map<String,​Object> context)
        Deprecated.

        Creates a new SSLEngine instance for the given peer host and port, and with the given context to help the creation of the SSLEngine.

        Parameters:
        host - the peer host
        port - the peer port
        context - the ClientConnectionFactory context
        Returns:
        a new SSLEngine instance