Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for CookieJar (0.17 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        return copy(authenticator = authenticator)
      }
    
      override fun withCookieJar(cookieJar: CookieJar): Interceptor.Chain {
        check(exchange == null) { "cookieJar can't be adjusted in a network interceptor" }
    
        return copy(cookieJar = cookieJar)
      }
    
      override fun withCache(cache: Cache?): Interceptor.Chain {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

        }
    
        object CookieJarOverride : Override<CookieJar> {
          override fun Interceptor.Chain.value(): CookieJar = cookieJar
    
          override fun Interceptor.Chain.withOverride(value: CookieJar): Interceptor.Chain = withCookieJar(value)
    
          override fun OkHttpClient.Builder.withOverride(value: CookieJar): OkHttpClient.Builder = cookieJar(value)
    
          override val nonDefaultValue: CookieJar =
            object : CookieJar {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        val cookieJar = JavaNetCookieJar(cookieManager)
        val url = "https://www.squareup.com/".toHttpUrl()
        cookieJar.saveFromResponse(url, listOf(parse(url, "a=android; Domain=squareup.com")!!))
        val actualCookies = cookieJar.loadForRequest(url)
        assertThat(actualCookies.size).isEqualTo(1)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val eventListenerFactory: EventListener.Factory = client.eventListenerFactory()
        val proxySelector: ProxySelector = client.proxySelector()
        val cookieJar: CookieJar = client.cookieJar()
        val cache: Cache? = client.cache()
        val socketFactory: SocketFactory = client.socketFactory()
        val sslSocketFactory: SSLSocketFactory = client.sslSocketFactory()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

     * **MultipartBody.Part**: body, headers
     * **MultipartBody.**: boundary, parts, size, type
     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
       eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
       networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          detachTimeout(timeout)
    
          ******@****.***rs = trailers
          state = STATE_CLOSED
          if (trailers.size > 0) {
            client?.cookieJar?.receiveHeaders(url, trailers)
          }
        }
      }
    
      /** An HTTP body with a fixed length specified in advance. */
      private inner class FixedLengthSource(
        url: HttpUrl,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  7. CHANGELOG.md

        artifacts defined classes in the `okhttp3` package, but this is forbidden by the Java module
        system. We've fixed this with a new package (`okhttp3.java.net.cookiejar`) and a new artifact,
        `com.squareup.okhttp3:okhttp-java-net-cookiehandler`. (The original artifact now delegates to
        this new one.)
    
        ```kotlin
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
Back to Top