# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods

# HostnameVerifier

`public interface HostnameVerifier`
``

javax.net.ssl.HostnameVerifier

Known indirect subclasses AbstractVerifier, AllowAllHostnameVerifier, BrowserCompatHostnameVerifier, StrictHostnameVerifier, X509HostnameVerifier
AbstractVerifier | This class is deprecated. Please use `URL.openConnection()` instead. Please visit this webpage for further details.
AllowAllHostnameVerifier | This class is deprecated. Please use `URL.openConnection()` instead. Please visit this webpage for further details.
BrowserCompatHostnameVerifier | This class is deprecated. Please use `URL.openConnection()` instead. Please visit this webpage for further details.
StrictHostnameVerifier | This class is deprecated. Please use `URL.openConnection()` instead. Please visit this webpage for further details.
X509HostnameVerifier | This interface is deprecated. Please use `URL.openConnection()` instead. Please visit this webpage for further details.

This class is the base interface for hostname verification.

During handshaking, the verification mechanism can call back to implementers of this interface to determine if this connection should be allowed.

For more information of the use of this interface on Android, see `HttpsURLConnection#setDefaultHostnameVerifier(HostnameVerifier)`.

The policies can be certificate-based or may depend on other authentication schemes.

## Summary

### Public methods
`abstract boolean` | `verify(String hostname, SSLSession session)` Verify that the host name is an acceptable match with the server's authentication scheme.

## Public methods

### verify

    public abstract boolean verify (String hostname,
                    SSLSession session)

Verify that the host name is an acceptable match with the server's authentication scheme.

Parameters
`hostname` | `String`: the host name
`session` | `SSLSession`: SSLSession used on the connection to host

Returns
`boolean` | true if the host name is acceptable

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*