Add a constructor method for NettyServerSslContextBuilder.
@@ -39,6 +39,15 @@ public class NettyServerSslContextBuilder extends SslContextAutoRefreshBuilder<S
protected final boolean tlsRequireTrustedClientCertOnConnect;
protected final SslProvider sslProvider;
+ public NettyServerSslContextBuilder(boolean allowInsecure, String trustCertsFilePath,
+ String certificateFilePath,
+ String keyFilePath, Set<String> ciphers, Set<String> protocols,
+ boolean requireTrustedClientCertOnConnect,
+ long delayInSeconds) {
+ this(null, allowInsecure, trustCertsFilePath, certificateFilePath, keyFilePath, ciphers, protocols,
+ requireTrustedClientCertOnConnect, delayInSeconds);
+ }
+
public NettyServerSslContextBuilder(SslProvider sslProvider, boolean allowInsecure, String trustCertsFilePath,
String certificateFilePath,
String keyFilePath, Set<String> ciphers, Set<String> protocols,
