Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isPublicSuffix (0.13 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          assertFalse(name, domain.isPublicSuffix());
          assertTrue(name, domain.hasPublicSuffix());
          assertTrue(name, domain.isUnderPublicSuffix());
        }
      }
    
      public void testUnderPublicSuffix() {
        for (String name : SOMEWHERE_UNDER_PS) {
          InternetDomainName domain = InternetDomainName.from(name);
          assertFalse(name, domain.isPublicSuffix());
          assertTrue(name, domain.hasPublicSuffix());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

       *
       * @return {@code true} if this domain name appears exactly on the public suffix list
       * @since 6.0
       */
      public boolean isPublicSuffix() {
        return publicSuffixIndex() == 0;
      }
    
      /**
       * Indicates whether this domain name ends in a {@linkplain #isPublicSuffix() public suffix},
       * including if it is a public suffix itself. For example, returns {@code true} for {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

     * URI, the domain name case is further restricted to include only those domain names which end in a
     * recognized public suffix; see {@link InternetDomainName#isPublicSuffix()} for details.
     *
     * <p>Note that no network lookups are performed by any {@code HostSpecifier} methods. No attempt is
     * made to verify that a provided specifier corresponds to a real or accessible host. Only syntactic
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top