Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for withCache (0.04 seconds)

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

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

        check(exchange == null) { "cookieJar can't be adjusted in a network interceptor" }
    
        return copy(cookieJar = cookieJar)
      }
    
      override fun withCache(cache: Cache?): Interceptor.Chain {
        check(exchange == null) { "cache can't be adjusted in a network interceptor" }
    
        return copy(cache = cache)
      }
    
    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/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        val cache: Cache?
    
        /**
         * Override the [Cache] for the Call.Chain.
         *
         * @throws IllegalStateException if this is a Network Interceptor, since the override is too late.
         */
        fun withCache(cache: Cache?): Chain
    
        /**
         * Returns the [Proxy] for the OkHttpClient, or an override from the Call.Chain.
         */
        val proxy: Proxy?
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

        }
    
        object CacheOverride : Override<Cache?> {
          override fun Interceptor.Chain.value(): Cache? = cache
    
          override fun Interceptor.Chain.withOverride(value: Cache?): Interceptor.Chain = withCache(value)
    
          override fun OkHttpClient.Builder.withOverride(value: Cache?): OkHttpClient.Builder = cache(value)
    
          override val nonDefaultValue: Cache = Cache(FakeFileSystem(), "/cash".toPath(), 1)
    
    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)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

            TODO()
          }
    
          override fun withCookieJar(cookieJar: CookieJar): Interceptor.Chain {
            TODO()
          }
    
          override fun withCache(cache: Cache?): Interceptor.Chain {
            TODO()
          }
    
          override fun withProxy(proxy: Proxy?): Interceptor.Chain {
            TODO()
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  5. okhttp/api/jvm/okhttp.api

    	public abstract fun readTimeoutMillis ()I
    	public abstract fun request ()Lokhttp3/Request;
    	public abstract fun withAuthenticator (Lokhttp3/Authenticator;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withCache (Lokhttp3/Cache;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withCertificatePinner (Lokhttp3/CertificatePinner;)Lokhttp3/Interceptor$Chain;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
Back to Top