- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for HostSpecifier (0.72 seconds)
-
android/guava/src/com/google/common/net/HostSpecifier.java
* * @author Craig Berry * @since 5.0 */ @J2ktIncompatible @GwtIncompatible public final class HostSpecifier { private final String canonicalForm; private HostSpecifier(String canonicalForm) { this.canonicalForm = canonicalForm; } /** * Returns a {@code HostSpecifier} built from the provided {@code specifier}, which is alreadyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
// Throws exception if not working correctly HostSpecifier unused = HostSpecifier.fromValid(spec); unused = HostSpecifier.from(spec); assertTrue(HostSpecifier.isValid(spec)); } private void assertBad(String spec) { try { HostSpecifier.fromValid(spec); fail("Should have thrown IllegalArgumentException: " + spec); } catch (IllegalArgumentException expected) { }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* IPv4/IPv6 literal. * * <p>A successful parse does not imply any degree of sanity in this field. For additional * validation, see the {@link HostSpecifier} class. * * @since 20.0 (since 10.0 as {@code getHostText}) */ public String getHost() { return host; } /** Return true if this instance has a defined port. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0)