Package | Description |
---|---|
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
javax.net.ssl |
Provides classes for the secure socket package.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
StartTlsResponse.setHostnameVerifier(HostnameVerifier verifier)
Sets the hostname verifier used by negotiate()
after the TLS handshake has completed and the default hostname
verification has failed.
|
Modifier and Type | Field and Description |
---|---|
protected HostnameVerifier |
HttpsURLConnection.hostnameVerifier
The
hostnameVerifier for this object. |
Modifier and Type | Method and Description |
---|---|
static HostnameVerifier |
HttpsURLConnection.getDefaultHostnameVerifier()
Gets the default
HostnameVerifier that is inherited
by new instances of this class. |
HostnameVerifier |
HttpsURLConnection.getHostnameVerifier()
Gets the
HostnameVerifier in place on this instance. |
Modifier and Type | Method and Description |
---|---|
static void |
HttpsURLConnection.setDefaultHostnameVerifier(HostnameVerifier v)
Sets the default
HostnameVerifier inherited by a
new instance of this class. |
void |
HttpsURLConnection.setHostnameVerifier(HostnameVerifier v)
Sets the
HostnameVerifier for this instance. |
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.