Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for mustRevalidate (0.07 sec)

  1. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.isPublic).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
        assertThat(cacheControl.maxStaleSeconds).isEqualTo(-1)
        assertThat(cacheControl.minFreshSeconds).isEqualTo(-1)
        assertThat(cacheControl.onlyIfCached).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
      }
    
      @Test
      @Throws(Exception::class)
      fun parse() {
        val header = (
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

      @JvmName("-deprecated_mustRevalidate")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "mustRevalidate"),
        level = DeprecationLevel.ERROR,
      )
      fun mustRevalidate(): Boolean = mustRevalidate
    
      @JvmName("-deprecated_maxStaleSeconds")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "maxStaleSeconds"),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

      return CacheControl(
        noCache = noCache,
        noStore = noStore,
        maxAgeSeconds = maxAgeSeconds,
        sMaxAgeSeconds = sMaxAgeSeconds,
        isPrivate = isPrivate,
        isPublic = isPublic,
        mustRevalidate = mustRevalidate,
        maxStaleSeconds = maxStaleSeconds,
        minFreshSeconds = minFreshSeconds,
        onlyIfCached = onlyIfCached,
        noTransform = noTransform,
        immutable = immutable,
        headerValue = headerValue,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheControlTest.kt

        assertThat(cacheControl.isPublic).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
        assertThat(cacheControl.maxStaleSeconds).isEqualTo(-1)
        assertThat(cacheControl.minFreshSeconds).isEqualTo(-1)
        assertThat(cacheControl.onlyIfCached).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
      }
    
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        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()
        val onlyIfCached: Boolean = cacheControl.onlyIfCached()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          if (requestCaching.minFreshSeconds != -1) {
            minFreshMillis = SECONDS.toMillis(requestCaching.minFreshSeconds.toLong())
          }
    
          var maxStaleMillis: Long = 0
          if (!responseCaching.mustRevalidate && requestCaching.maxStaleSeconds != -1) {
            maxStaleMillis = SECONDS.toMillis(requestCaching.maxStaleSeconds.toLong())
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        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
        val onlyIfCached: Boolean = cacheControl.onlyIfCached
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. okhttp/api/okhttp.api

    	public final fun isPrivate ()Z
    	public final fun isPublic ()Z
    	public final fun maxAgeSeconds ()I
    	public final fun maxStaleSeconds ()I
    	public final fun minFreshSeconds ()I
    	public final fun mustRevalidate ()Z
    	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;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top