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
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultHostnameVerifier
public DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher)
DefaultHostnameVerifier
public DefaultHostnameVerifier()
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
 
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.