public class SNIConfig extends Object
#serverConfigBuilder()
has to be used, for client-side SNI configuration please use #clientConfigBuilder().| Modifier and Type | Method and Description |
|---|---|
static SNIConfig |
failServerConfig(String host) |
static SNIConfig |
newClientConfig(String host) |
static SNIConfig |
newClientConfig(String host,
org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator) |
static SNIConfig |
newServerConfig(org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator) |
public static SNIConfig newServerConfig(org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator)
sslEngineConfigurator - SSLEngineConfigurator,
or null for the default configurationpublic static SNIConfig newClientConfig(String host)
host - the SNI host name to be sent to a server, or null
to not use SNI extensionpublic static SNIConfig newClientConfig(String host, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator)
host - the SNI host name to be sent to a server, or null
to not use SNI extensionsslEngineConfigurator - SSLEngineConfigurator,
or null for the default configurationCopyright © 2022 Oracle Corporation. All Rights Reserved.