return pipeline;
}
private SslHandler buildSslHandler() throws CertificateException, SSLException {
final SslContext sslCtx = SslContext.newServerContext(
tlsCertFile, tlsKeyFile, emptyToNull(configuration.getRestTlsKeyPassword()));
return sslCtx.newHandler();
}
});
bootstrap.setOption("child.tcpNoDelay", true);
bootstrap.setOption("child.keepAlive", true);