public class ProxyHostnameChecker extends Object implements HostnameChecker
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE_TLS |
| Constructor and Description |
|---|
ProxyHostnameChecker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(String hostname,
Principal principal) |
void |
match(String hostname,
X509Certificate peerCertificate) |
public static final byte TYPE_TLS
public void match(String hostname, X509Certificate peerCertificate) throws CertificateException
match in interface HostnameCheckerCertificateExceptionpublic boolean match(String hostname, Principal principal)
match in interface HostnameCheckerCopyright © 2017-2019 Eclipse Foundation. All Rights Reserved.