public class SNIConfig
extends java.lang.Object
#serverConfigBuilder()
has to be used, for client-side SNI configuration please use #clientConfigBuilder().| Modifier and Type | Method and Description |
|---|---|
static SNIConfig |
failServerConfig(java.lang.String host) |
static SNIConfig |
newClientConfig(java.lang.String host) |
static SNIConfig |
newClientConfig(java.lang.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(java.lang.String host)
host - the SNI host name to be sent to a server, or null
to not use SNI extensionpublic static SNIConfig newClientConfig(java.lang.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 configurationpublic static SNIConfig failServerConfig(java.lang.String host)
host - Connection, whose SNI host wasn't recognized
as supported, so the Connection has to be closedCopyright © 2018 Oracle Corporation. All Rights Reserved.