Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cookieJar (0.12 sec)

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

        assertThat(response2.body.string()).isEqualTo("A")
      }
    
      @Test
      fun cachePlusCookies() {
        val cookieJar = RecordingCookieJar()
        client =
          client.newBuilder()
            .cookieJar(cookieJar)
            .build()
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Set-Cookie: a=FIRST")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

              ),
          ),
        )
        val cookieJar = RecordingCookieJar()
        client =
          client.newBuilder()
            .cookieJar(cookieJar)
            .build()
        executeSynchronously("/").assertCode(200)
        val responseCookies = cookieJar.takeResponseCookies()
        assertThat(responseCookies.size).isEqualTo(2)
        assertThat(responseCookies[0].toString())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. 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)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/ConnectionSpec;->hashCode()I
    HSPLokhttp3/ConnectionSpec;->tlsVersions()Ljava/util/List;
    HSPLokhttp3/CookieJar$Companion$NoCookies;-><init>()V
    HSPLokhttp3/CookieJar$Companion$NoCookies;->loadForRequest(Lokhttp3/HttpUrl;)Ljava/util/List;
    HSPLokhttp3/CookieJar;-><clinit>()V
    HSPLokhttp3/Dispatcher;-><init>()V
    HSPLokhttp3/Dispatcher;->finished$okhttp(Lokhttp3/internal/connection/RealCall$AsyncCall;)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)
Back to top