Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for geturl (0.19 sec)

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

    import okhttp3.testing.PlatformVersion
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlTest {
      protected open fun parse(url: String): HttpUrl {
        return url.toHttpUrl()
      }
    
      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        try {
          val result = string.toHttpUrl()
          if (exceptionMessage != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      fun queryParameter(name: String): String? {
        if (queryNamesAndValues == null) return null
        for (i in 0 until queryNamesAndValues.size step 2) {
          if (name == queryNamesAndValues[i]) {
            return queryNamesAndValues[i + 1]
          }
        }
        return null
      }
    
      /**
       * The distinct query parameter names in this URL, like `["a", "b"]` for
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. docs/changelogs/changelog_3x.md

        request itself.
     *  New: `Headers.Builder.addAll(Headers)`.
     *  New: `ResponseBody.create(MediaType, ByteString)`.
     *  New: Embed R8/ProGuard rules in the jar. These will be applied automatically by R8.
     *  Fix: Release the connection if `Authenticator` throws an exception.
     *  Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        for (log in logs) {
          if (type in log) {
            return log
          }
        }
        return null
      }
    
      private fun countFrames(
        logs: List<String>,
        message: String,
      ): Int {
        var result = 0
        for (log in logs) {
          if (log == message) {
            result++
          }
        }
        return result
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top