- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for isPublicSuffix (0.08 seconds)
-
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 {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
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());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
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());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
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 syntacticCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0)