Class AbstractSSLSocketAppender<E>

    • Constructor Detail

      • AbstractSSLSocketAppender

        protected AbstractSSLSocketAppender()
        Constructs a new appender.
    • Method Detail

      • getSocketFactory

        protected javax.net.SocketFactory getSocketFactory()
        Gets an SocketFactory that produces SSL sockets using an SSLContext that is derived from the appender's configuration.
        Overrides:
        getSocketFactory in class AbstractSocketAppender<E>
        Returns:
        socket factory
      • getSsl

        public SSLConfiguration getSsl()
        Gets the SSL configuration.
        Specified by:
        getSsl in interface SSLComponent
        Returns:
        SSL configuration; if no configuration has been set, a default configuration is returned
      • setSsl

        public void setSsl​(SSLConfiguration ssl)
        Sets the SSL configuration.
        Specified by:
        setSsl in interface SSLComponent
        Parameters:
        ssl - the SSL configuration to set