Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for sMaxAgeSeconds (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

        assertThat(cacheControl.noCache).isFalse()
        assertThat(cacheControl.noStore).isFalse()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
        assertThat(cacheControl.maxStaleSeconds).isEqualTo(-1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (noCache) append("no-cache, ")
            if (noStore) append("no-store, ")
            if (maxAgeSeconds != -1) append("max-age=").append(maxAgeSeconds).append(", ")
            if (sMaxAgeSeconds != -1) append("s-maxage=").append(sMaxAgeSeconds).append(", ")
            if (isPrivate) append("private, ")
            if (isPublic) append("public, ")
            if (mustRevalidate) append("must-revalidate, ")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      @JvmName("-deprecated_sMaxAgeSeconds")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "sMaxAgeSeconds"),
        level = DeprecationLevel.ERROR,
      )
      fun sMaxAgeSeconds(): Int = sMaxAgeSeconds
    
      @JvmName("-deprecated_mustRevalidate")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "mustRevalidate"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.noTransform).isTrue()
        assertThat(cacheControl.immutable).isTrue()
    
        // These members are accessible to response headers only.
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
      }
    
      @Test
      @Throws(Exception::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val noCache: Boolean = cacheControl.noCache()
        val noStore: Boolean = cacheControl.noStore()
        val maxAgeSeconds: Int = cacheControl.maxAgeSeconds()
        val sMaxAgeSeconds: Int = cacheControl.sMaxAgeSeconds()
        val mustRevalidate: Boolean = cacheControl.mustRevalidate()
        val maxStaleSeconds: Int = cacheControl.maxStaleSeconds()
        val minFreshSeconds: Int = cacheControl.minFreshSeconds()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

     * **Cache**: directory
     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
       noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
     * **Challenge**: authParams, charset, realm, scheme
     * **CipherSuite**: javaName
     * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val noCache: Boolean = cacheControl.noCache
        val noStore: Boolean = cacheControl.noStore
        val maxAgeSeconds: Int = cacheControl.maxAgeSeconds
        val sMaxAgeSeconds: Int = cacheControl.sMaxAgeSeconds
        val mustRevalidate: Boolean = cacheControl.mustRevalidate
        val maxStaleSeconds: Int = cacheControl.maxStaleSeconds
        val minFreshSeconds: Int = cacheControl.minFreshSeconds
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  8. okhttp/api/jvm/okhttp.api

    	public final fun noCache ()Z
    	public final fun noStore ()Z
    	public final fun noTransform ()Z
    	public final fun onlyIfCached ()Z
    	public static final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    	public final fun sMaxAgeSeconds ()I
    	public fun toString ()Ljava/lang/String;
    }
    
    public final class okhttp3/CacheControl$Builder {
    	public fun <init> ()V
    	public final fun build ()Lokhttp3/CacheControl;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  9. okhttp/api/android/okhttp.api

    	public final fun noCache ()Z
    	public final fun noStore ()Z
    	public final fun noTransform ()Z
    	public final fun onlyIfCached ()Z
    	public static final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    	public final fun sMaxAgeSeconds ()I
    	public fun toString ()Ljava/lang/String;
    }
    
    public final class okhttp3/CacheControl$Builder {
    	public fun <init> ()V
    	public final fun build ()Lokhttp3/CacheControl;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top