Searched refs:InetAddresses (Results 1 – 4 of 4) sorted by relevance
38 tester.testAllPublicStaticMethods(InetAddresses.class); in testNulls()108 InetAddresses.forString(bogusInputs[i]); in testForStringBogusInput()113 assertFalse(InetAddresses.isInetAddress(bogusInputs[i])); in testForStringBogusInput()119 InetAddresses.forString("3ffe:::1"); in test3ff31()124 assertFalse(InetAddresses.isInetAddress("016.016.016.016")); in test3ff31()132 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()133 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv4Input()141 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()142 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv6Input()157 assertEquals(ipv6Addr, InetAddresses.forString(eightColons[i])); in testForStringIPv6EightColons()[all …]
88 addr = InetAddresses.forString(host); in fromValid()94 return new HostSpecifier(InetAddresses.toUriString(addr)); in fromValid()
114 public final class InetAddresses { class120 private InetAddresses() {} in InetAddresses() method in InetAddresses
24 import com.google.common.net.InetAddresses;44 channel.connect(new InetSocketAddress(InetAddresses.forString("127.0.0.1"), request.port)); in main()