Java 类org.apache.http.conn.ssl.AbstractVerifier 实例源码

项目:apache-jmeter-2.10    文件:ProxyControl.java   
private boolean isValid(String subject) {
    String parts[] = subject.split("\\.");
    if (!parts[0].endsWith("*")) { // not a wildcard
        return true;
    }
    return parts.length >= 3 && AbstractVerifier.acceptableCountryWildcard(subject);
}
项目:jsflight    文件:JMeterProxyControl.java   
private boolean isValid(String subject) {
    String parts[] = subject.split("\\.");
    // not a wildcard
    return !parts[0].endsWith("*") || parts.length >= 3 && AbstractVerifier.acceptableCountryWildcard(subject);
}