Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for connectionPool (0.29 sec)

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

        server.enqueue(MockResponse(body = "ghi"))
        client =
          OkHttpClient.Builder()
            .connectionPool(client.connectionPool)
            .proxy(server.toProxyAddress())
            .build()
        executeSynchronously("/a").assertBody("abc")
        client =
          OkHttpClient.Builder()
            .connectionPool(client.connectionPool)
            .proxy(server.toProxyAddress())
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val hostnameVerifier = RecordingHostnameVerifier()
        val cookieJar: CookieJar = JavaNetCookieJar(CookieManager())
        val connectionPool = ConnectionPool()
        client =
          OkHttpClient.Builder()
            .cache(cache)
            .connectionPool(connectionPool)
            .cookieJar(cookieJar)
            .sslSocketFactory(clientSocketFactory, handshakeCertificates.trustManager)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/CipherSuite;-><clinit>()V
    HSPLokhttp3/CipherSuite;-><init>(Ljava/lang/String;Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokhttp3/ConnectionPool;-><init>(I)V
    HSPLokhttp3/ConnectionPool;-><init>(IJLjava/util/concurrent/TimeUnit;)V
    HSPLokhttp3/ConnectionSpec$Builder;-><init>(Lokhttp3/ConnectionSpec;)V
    HSPLokhttp3/ConnectionSpec$Builder;-><init>(Z)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build(),
        )
        assertThat(get(server.url("/")).body.string()).isEqualTo("A")
        assertThat(get(server.url("/")).body.string()).isEqualTo("A")
        assertThat(client.connectionPool.idleConnectionCount()).isEqualTo(1)
      }
    
      @Test
      fun expiresDateBeforeModifiedDate() {
        assertConditionallyCached(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top