| Package | Description | 
|---|---|
| javax.net.ssl | Provides classes for the secure socket package. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SNIMatcher | SNIHostName. createSNIMatcher(String regex)Creates an  SNIMatcherobject forSNIHostNames. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<SNIMatcher> | SSLParameters. getSNIMatchers()Returns a  Collectioncontaining allSNIMatchers of the
 Server Name Indication (SNI) parameter, or null if none has been set. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SSLParameters. setSNIMatchers(Collection<SNIMatcher> matchers)Sets the  SNIMatchers 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, 2015, Oracle and/or its affiliates.  All rights reserved.