@Contract(threading=IMMUTABLE_CONDITIONAL) public final class DefaultHostnameVerifier extends Object implements HostnameVerifier
HostnameVerifier
implementation.Constructor and Description |
---|
DefaultHostnameVerifier() |
DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher) |
public DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher)
public DefaultHostnameVerifier()
public boolean verify(String host, SSLSession session)
verify
in interface HostnameVerifier
public void verify(String host, X509Certificate cert) throws SSLException
SSLException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.