Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasPublicSuffix (0.17 sec)

  1. android/guava/src/com/google/common/net/HostSpecifier.java

        // TODO(user): different versions of this for different factories?
        InternetDomainName domain = InternetDomainName.from(host);
    
        if (domain.hasPublicSuffix()) {
          return new HostSpecifier(domain.toString());
        }
    
        throw new IllegalArgumentException(
            "Domain name does not have a recognized public suffix: " + host);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top