Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for hostAndPort (0.09 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to Top