Class SslClientConnectionFactory

  • All Implemented Interfaces:
    ClientConnectionFactory

    @Deprecated(since="2021-05-27")
    public class SslClientConnectionFactory
    extends java.lang.Object
    implements ClientConnectionFactory
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    A ClientConnectionFactory that creates client-side SslConnection instances.

    • Field Detail

      • SSL_CONTEXT_FACTORY_CONTEXT_KEY

        public static final java.lang.String SSL_CONTEXT_FACTORY_CONTEXT_KEY
        Deprecated.
        See Also:
        Constant Field Values
      • SSL_PEER_HOST_CONTEXT_KEY

        public static final java.lang.String SSL_PEER_HOST_CONTEXT_KEY
        Deprecated.
        See Also:
        Constant Field Values
      • SSL_PEER_PORT_CONTEXT_KEY

        public static final java.lang.String SSL_PEER_PORT_CONTEXT_KEY
        Deprecated.
        See Also:
        Constant Field Values
      • SSL_ENGINE_CONTEXT_KEY

        public static final java.lang.String SSL_ENGINE_CONTEXT_KEY
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • setDirectBuffersForEncryption

        public void setDirectBuffersForEncryption​(boolean useDirectBuffers)
        Deprecated.
      • setDirectBuffersForDecryption

        public void setDirectBuffersForDecryption​(boolean useDirectBuffers)
        Deprecated.
      • isDirectBuffersForDecryption

        public boolean isDirectBuffersForDecryption()
        Deprecated.
      • isDirectBuffersForEncryption

        public boolean isDirectBuffersForEncryption()
        Deprecated.
      • isAllowMissingCloseMessage

        @Deprecated
        public boolean isAllowMissingCloseMessage()
        Deprecated.
        Returns:
        whether is not required that peers send the TLS close_notify message
      • setAllowMissingCloseMessage

        @Deprecated
        public void setAllowMissingCloseMessage​(boolean allowMissingCloseMessage)
        Deprecated.
        Parameters:
        allowMissingCloseMessage - whether is not required that peers send the TLS close_notify message
      • isRequireCloseMessage

        public boolean isRequireCloseMessage()
        Deprecated.
        Returns:
        whether peers must send the TLS close_notify message
        See Also:
        SslConnection.isRequireCloseMessage()
      • setRequireCloseMessage

        public void setRequireCloseMessage​(boolean requireCloseMessage)
        Deprecated.
        Parameters:
        requireCloseMessage - whether peers must send the TLS close_notify message
        See Also:
        SslConnection.setRequireCloseMessage(boolean)
      • newConnection

        public Connection newConnection​(EndPoint endPoint,
                                        java.util.Map<java.lang.String,​java.lang.Object> context)
                                 throws java.io.IOException
        Deprecated.
        Specified by:
        newConnection in interface ClientConnectionFactory
        Parameters:
        endPoint - the EndPoint to link the newly created connection to
        context - the context data to create the connection
        Returns:
        a new Connection
        Throws:
        java.io.IOException - if the connection cannot be created