Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for noCache (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

      CacheControl
        .Builder()
        .noCache()
        .build()
    
    internal fun CacheControl.Companion.commonForceCache() =
      CacheControl
        .Builder()
        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    internal fun CacheControl.Builder.commonBuild(): CacheControl =
      CacheControl(
        noCache = noCache,
        noStore = noStore,
        maxAgeSeconds = maxAgeSeconds,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerBuildTask.java

        }
    
        public void setPull(boolean pull) {
            this.pull = pull;
        }
    
        @Input
        public boolean isNoCache() {
            return noCache;
        }
    
        public void setNoCache(boolean noCache) {
            this.noCache = noCache;
        }
    
        @Input
        public String[] getBaseImages() {
            return baseImages;
        }
    
        public void setBaseImages(String[] baseImages) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      internal var headerValue: String?,
    ) {
      @JvmName("-deprecated_noCache")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "noCache"),
        level = DeprecationLevel.ERROR,
      )
      fun noCache(): Boolean = noCache
    
      @JvmName("-deprecated_noStore")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "noStore"),
        level = DeprecationLevel.ERROR,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 10K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

    class CacheControlTest {
      @Test
      @Throws(Exception::class)
      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
        assertThat(cacheControl.noStore).isFalse()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
            .Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
            .maxStale(2, TimeUnit.SECONDS)
            .minFresh(3, TimeUnit.SECONDS)
            .onlyIfCached()
            .noTransform()
            .immutable()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

      fun cacheControl() {
        val request =
          Request
            .Builder()
            .cacheControl(CacheControl.Builder().noCache().build())
            .url("https://square.com")
            .build()
        assertThat(request.headers("Cache-Control")).containsExactly("no-cache")
        assertThat(request.cacheControl.noCache).isTrue()
      }
    
      @Test
      fun emptyCacheControlClearsAllCacheControlHeaders() {
        val request =
          Request
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val directory: File = cache.directory()
      }
    
      @Test @Disabled
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache()
        val noStore: Boolean = cacheControl.noStore()
        val maxAgeSeconds: Int = cacheControl.maxAgeSeconds()
        val sMaxAgeSeconds: Int = cacheControl.sMaxAgeSeconds()
    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)
  8. ci/devinfra/docker/windows/Dockerfile

    # Packages, and component versions, can be found here:
    # https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools
    RUN C:\TEMP\vs_community.exe \
            --quiet --wait --norestart --nocache \
            --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 \
            --add Microsoft.VisualStudio.Workload.NativeDesktop \
            --add Microsoft.VisualStudio.Component.VC.14.39.17.9.x86.64 \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Jan 17 16:35:57 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

       proxyAuthenticator, proxySelector, socketFactory, sslSocketFactory, url
     * **Cache**: directory
     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
       noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
     * **Challenge**: authParams, charset, realm, scheme
     * **CipherSuite**: javaName
     * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions
    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)
  10. ci/devinfra/docker/windows2022/Dockerfile

    # Packages, and component versions, can be found here:
    # https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools
    RUN C:\TEMP\vs_community.exe \
            --quiet --wait --norestart --nocache \
            --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 \
            --add Microsoft.VisualStudio.Workload.NativeDesktop \
            --add Microsoft.VisualStudio.Component.VC.14.39.17.9.x86.64 \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Mar 04 19:50:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top