| Package | Description | 
|---|---|
| javax.net.ssl | Provides classes for the secure socket package. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SNIHostNameInstances of this class represent a server name of type
  host_namein a Server Name
 Indication (SNI) extension. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<SNIServerName> | ExtendedSSLSession. getRequestedServerNames()Obtains a  Listcontaining allSNIServerNames
 of the requested Server Name Indication (SNI) extension. | 
| List<SNIServerName> | SSLParameters. getServerNames()Returns a  Listcontaining allSNIServerNames of the
 Server Name Indication (SNI) parameter, or null if none has been set. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | SNIMatcher. matches(SNIServerName serverName)Attempts to match the given  SNIServerName. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SSLParameters. setServerNames(List<SNIServerName> serverNames)Sets the desired  SNIServerNames of the Server Name
 Indication (SNI) parameter. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.