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,
SSLEngineConfigurator sslEngineConfigurator) |
static SNIConfig |
newServerConfig(SSLEngineConfigurator sslEngineConfigurator) |
public static SNIConfig newServerConfig(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, 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 © 2015 Oracle Corporation. All rights reserved.