Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for effectivePort (0.07 sec)

  1. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

            else -> ""
          }
        val effectiveHost =
          when {
            url.host.contains(":") -> "[" + url.host + "]"
            else -> url.host
          }
        assertThat(url.scheme, "scheme").isEqualTo(testData.scheme)
        assertThat(effectiveHost, "host").isEqualTo(testData.host)
        assertThat(effectivePort, "port").isEqualTo(testData.port)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

                append(host)
              }
            }
    
            if (port != -1 || scheme != null) {
              val effectivePort = effectivePort()
              if (scheme == null || effectivePort != defaultPort(scheme!!)) {
                append(':')
                append(effectivePort)
              }
            }
    
            encodedPathSegments.toPathString(this)
    
            if (encodedQueryNamesAndValues != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/Headers;->size()I
    HSPLokhttp3/Headers;->value(I)Ljava/lang/String;
    HSPLokhttp3/HttpUrl$Builder;-><init>()V
    HSPLokhttp3/HttpUrl$Builder;->build()Lokhttp3/HttpUrl;
    HSPLokhttp3/HttpUrl$Builder;->effectivePort()I
    HSPLokhttp3/HttpUrl$Builder;->encodedQuery(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    HSPLokhttp3/HttpUrl$Builder;->parse$okhttp(Lokhttp3/HttpUrl;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top