Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for conditionalCache (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(cache.requestCount()).isEqualTo(3)
        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(2)
      }
    
      @Test
      fun conditionalCache() {
        client =
          client
            .newBuilder()
            .cache(cache)
            .build()
        server.enqueue(
          MockResponse(
            headers = headersOf("ETag", "v1"),
            body = "A",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
Back to Top