public void setSSLVerAndCipherSuites(SSLEngine engine) { SSLUtils.setSSLVerAndCipherSuites(engine, config); }
public void setSSLVerAndCipherSuites(SSLEngine engine) { SSLUtils.setSSLVerAndCipherSuites(engine, config); }
@Override protected void initChannel(SocketChannel ch) { Handler handler = new Handler(WebFrontendBootstrap.this.router); // SSL should be the first handler in the pipeline if (serverSSLContext != null) { SSLEngine sslEngine = serverSSLContext.createSSLEngine(); SSLUtils.setSSLVerAndCipherSuites(sslEngine, config); sslEngine.setUseClientMode(false); ch.pipeline().addLast("ssl", new SslHandler(sslEngine)); } ch.pipeline() .addLast(new HttpServerCodec()) .addLast(new ChunkedWriteHandler()) .addLast(new HttpRequestHandler(uploadDir)) .addLast(handler.name(), handler) .addLast(new PipelineErrorHandler(WebFrontendBootstrap.this.log)); } };
throw new IOException("Unable to allocate socket for blob server in specified port range: " + serverPortRange); } else { SSLUtils.setSSLVerAndCipherSuites(socketAttempt, config); this.serverSocket = socketAttempt;
throw new IOException("Unable to allocate socket for blob server in specified port range: "+serverPortRange); } else { SSLUtils.setSSLVerAndCipherSuites(socketAttempt, config); this.serverSocket = socketAttempt;