Class CustomSSLWebSocketServerFactory

    • Constructor Detail

      • CustomSSLWebSocketServerFactory

        public CustomSSLWebSocketServerFactory​(SSLContext sslContext,
                                               String[] enabledProtocols,
                                               String[] enabledCiphersuites)
        New CustomSSLWebSocketServerFactory configured to only support given protocols and given cipher suites.
        Parameters:
        sslContext - - can not be null
        enabledProtocols - - only these protocols are enabled, when null default settings will be used.
        enabledCiphersuites - - only these cipher suites are enabled, when null default settings will be used.
      • CustomSSLWebSocketServerFactory

        public CustomSSLWebSocketServerFactory​(SSLContext sslContext,
                                               ExecutorService executerService,
                                               String[] enabledProtocols,
                                               String[] enabledCiphersuites)
        New CustomSSLWebSocketServerFactory configured to only support given protocols and given cipher suites.
        Parameters:
        sslContext - - can not be null
        executerService - - can not be null
        enabledProtocols - - only these protocols are enabled, when null default settings will be used.
        enabledCiphersuites - - only these cipher suites are enabled, when null default settings will be used.