- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for hostAndPort (0.05 seconds)
-
android/guava/src/com/google/common/net/HostAndPort.java
*/ @CanIgnoreReturnValue public HostAndPort requireBracketsForIPv6() { checkArgument(!hasBracketlessColons, "Possible bracketless IPv6 literal: %s", host); return this; } @Override public boolean equals(@Nullable Object other) { if (this == other) { return true; } if (other instanceof HostAndPort) { HostAndPort that = (HostAndPort) other;
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) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
HostAndPort hpNoPort5 = HostAndPort.fromHost("foo::123"); HostAndPort hpWithPort1 = HostAndPort.fromParts("[foo::123]", 80); HostAndPort hpWithPort2 = HostAndPort.fromParts("foo::123", 80); HostAndPort hpWithPort3 = HostAndPort.fromString("[foo::123]:80"); new EqualsTester() .addEqualityGroup(hpNoPort1, hpNoPort2, hpNoPort3, hpNoPort4, hpNoPort5)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
HostAndPort hpNoPort5 = HostAndPort.fromHost("foo::123"); HostAndPort hpWithPort1 = HostAndPort.fromParts("[foo::123]", 80); HostAndPort hpWithPort2 = HostAndPort.fromParts("foo::123", 80); HostAndPort hpWithPort3 = HostAndPort.fromString("[foo::123]:80"); new EqualsTester() .addEqualityGroup(hpNoPort1, hpNoPort2, hpNoPort3, hpNoPort4, hpNoPort5)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java
final SMailPostalMotorbike motorbike = new SMailPostalMotorbike(); final String hostAndPort = fessConfig.getMailSmtpServerMainHostAndPort(); final List<String> hostPortList = DfStringUtil.splitListTrimmed(hostAndPort, ":"); motorbike.registerConnectionInfo(hostPortList.get(0), Integer.parseInt(hostPortList.get(1)));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt
method = "GET", target = "/", version = "HTTP/2", ) private fun requestUrl( socket: MockWebServerSocket, requestLine: RequestLine, headers: Headers, ): HttpUrl { val hostAndPort = headers[":authority"] ?: headers["Host"] ?: when (val inetAddress = socket.localAddress) { is Inet6Address -> "[${inetAddress.hostAddress}]:${socket.localPort}"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 12:43:16 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
*/ public static HostSpecifier fromValid(String specifier) { // Verify that no port was specified, and strip optional brackets from // IPv6 literals. HostAndPort parsedHost = HostAndPort.fromString(specifier); Preconditions.checkArgument(!parsedHost.hasPort()); String host = parsedHost.getHost(); // Try to interpret the specifier as an IP address. Note we build
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0)