DefaultHostnameVerifier (Apache HttpClient 4.5.13 API)
Date: 2020-10-03

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.http.conn.ssl
Class DefaultHostnameVerifier

    java.lang.Object
      org.apache.http.conn.ssl.DefaultHostnameVerifier

All Implemented Interfaces:
  HostnameVerifier

    @Contract(threading=IMMUTABLE_CONDITIONAL)
    public final class DefaultHostnameVerifier

extends Object
implements HostnameVerifier

Default `HostnameVerifier` implementation.

Since:
  4.4

Constructor Summary
`DefaultHostnameVerifier()`
`DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher)`

Method Summary
`boolean` | `verify(String host, SSLSession session)`
`void` | `verify(String host, X509Certificate cert)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultHostnameVerifier

    public DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher)

### DefaultHostnameVerifier

    public DefaultHostnameVerifier()

Method Detail

### verify

    public boolean verify(String host,
                          SSLSession session)

  Specified by:
    `verify` in interface `HostnameVerifier`

### verify

    public void verify(String host,
                       X509Certificate cert)
                throws SSLException

  Throws:
    `SSLException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.