- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for withCookieJar (0.26 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
check(exchange == null) { "authenticator can't be adjusted in a network interceptor" } 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) }
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) -
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)