public class TrustAnyHostnameVerifier extends Object implements HostnameVerifier
Modifier and Type | Field and Description |
---|---|
static TrustAnyHostnameVerifier |
INSTANCE
单例对象
|
Constructor and Description |
---|
TrustAnyHostnameVerifier() |
public static final TrustAnyHostnameVerifier INSTANCE
public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier
Copyright © 2025. All rights reserved.