Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for Doesn (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 finished run in   0 µs: task two",
          "FINE: Q10000 starting              : task one",
          "FINE: Q10000 finished run in   0 µs: task one",
        )
      }
    
      /**
       * The runner doesn't hold references to its queues! Otherwise we'd need a mechanism to clean them
       * up when they're no longer needed and that's annoying. Instead the task runner only tracks which
       * queues have work scheduled.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/MediaType.kt

      internal val parameterNamesAndValues: Array<String>,
    ) {
      /**
       * Returns the charset of this media type, or [defaultValue] if either this media type doesn't
       * specify a charset, or if its charset is unsupported by the current runtime.
       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

       *
       * This class exploits knowledge of Android implementation details. This class is potentially
       * much faster to initialize than [BasicTrustRootIndex] because it doesn't need to load and
       * index trusted CA certificates.
       */
      internal data class CustomTrustRootIndex(
        private val trustManager: X509TrustManager,
        private val findByIssuerAndSignatureMethod: Method,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
      }
    
      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
       * them after the redirect has completed. This forces a connection to not be reused where it would
       * be otherwise.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

    in a future release! If you’re skipping releases, it’ll be much easier if you upgrade to OkHttp 4.0
    as an intermediate step.
    
    #### Vars and Vals
    
    Java doesn’t have language support for properties so developers make do with getters and setters.
    Kotlin does have properties and we take advantage of them in OkHttp.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

          .isCloseTo(500.0, 200.0)
        assertThat(connection.openStreamCount()).isEqualTo(0)
    
        // When the timeout is sent the connection doesn't immediately go unhealthy.
        assertThat(connection.isHealthy(System.nanoTime())).isTrue()
    
        // But if the ping doesn't arrive, the connection goes unhealthy.
        Thread.sleep(TimeUnit.NANOSECONDS.toMillis(Http2Connection.DEGRADED_PONG_TIMEOUT_NS.toLong()))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  7. docs/recipes.md

    Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn't currently offer asynchronous APIs to receive a response body in parts.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  8. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    vg
    
    // vi : http://www.nic.vi/newdomainform.htm
    // http://www.nic.vi/Domain_Rules/body_domain_rules.html indicates some other
    // TLDs are "reserved", such as edu.vi and gov.vi, but doesn't actually say they
    // are available for registration (which they do not seem to be).
    vi
    co.vi
    com.vi
    k12.vi
    net.vi
    org.vi
    
    // vn : https://www.dot.vn/vnnic/vnnic/domainregistration.jsp
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top