- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for HostSpecifier (0.18 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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)