- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for hostAndPort (0.38 sec)
-
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(@CheckForNull Object other) { if (this == other) { return true; } if (other instanceof HostAndPort) { HostAndPort that = (HostAndPort) other;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Aug 22 20:55:57 UTC 2023 - 11.3K bytes - Viewed (0) -
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(@CheckForNull Object other) { if (this == other) { return true; } if (other instanceof HostAndPort) { HostAndPort that = (HostAndPort) other;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Aug 22 20:55:57 UTC 2023 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123)); } public void testHashCodeAndEquals() { HostAndPort hpNoPort1 = HostAndPort.fromString("foo::123"); HostAndPort hpNoPort2 = HostAndPort.fromString("foo::123"); HostAndPort hpNoPort3 = HostAndPort.fromString("[foo::123]"); HostAndPort hpNoPort4 = HostAndPort.fromHost("[foo::123]");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 11:19:47 UTC 2023 - 9.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/authentication/AbstractAuthentication.java
} @Override public Collection<HostAndPort> getHostsForAuthentication() { return hosts; } @Override public void addHost(String host, int port) { hosts.add(new DefaultHostAndPort(host, port)); } private static class DefaultHostAndPort implements HostAndPort { private final String host; private final int port;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.4K bytes - Viewed (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)));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/authentication/AuthenticationInternal.java
Class<? extends Authentication> getType(); boolean requiresCredentials(); void addHost(String host, int port); Collection<HostAndPort> getHostsForAuthentication(); interface HostAndPort { /** * The hostname that the credentials are required for. * * null means "any host" */ String getHost(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Aug 02 16:02:39 UTC 2019 - 1.5K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java
Collection<AuthenticationInternal.HostAndPort> hostsForAuthentication = authenticationInternal.getHostsForAuthentication(); assert !hostsForAuthentication.isEmpty() : "Credentials and authentication required for a HTTP repository, but no hosts were defined for the authentication?"; for (AuthenticationInternal.HostAndPort hostAndPort : hostsForAuthentication) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 18.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
if (!path.startsWith("/")) { path = "/" } this.path = path val scheme = if (socket is SSLSocket) "https" else "http" val localPort = socket.localPort val hostAndPort = headers[":authority"] ?: headers["Host"] ?: when (val inetAddress = socket.localAddress) { is Inet6Address -> "[${inetAddress.hostAddress}]:$localPort"
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.8K bytes - Viewed (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
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 05 09:18:40 UTC 2023 - 6K bytes - Viewed (0) -
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
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 05 09:18:40 UTC 2023 - 6K bytes - Viewed (0)