## Uses of Interface
javax.net.ssl.HostnameVerifier

- Packages that use HostnameVerifier
  Package | Description
  --- | ---
  javax.naming.ldap | Provides support for LDAPv3 extended operations and controls.
  javax.net.ssl | Provides classes for the secure socket package.

- - ### Uses of HostnameVerifier in javax.naming.ldap

    Methods in javax.naming.ldap with parameters of type HostnameVerifier
    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.

  - ### Uses of HostnameVerifier in javax.net.ssl

    Fields in javax.net.ssl declared as HostnameVerifier
    Modifier and Type | Field and Description
    --- | ---
    `protected HostnameVerifier` | HttpsURLConnection.`hostnameVerifier` The `hostnameVerifier` for this object.

    Methods in javax.net.ssl that return HostnameVerifier
    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.

    Methods in javax.net.ssl with parameters of type HostnameVerifier
    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, 2015, Oracle and/or its affiliates. All rights reserved.