Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hostAndPort (0.1 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. 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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top