Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for minFresh (0.48 sec)

  1. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

            this.maxStaleSeconds = maxStaleSeconds.commonClampToInt()
          }
    
        fun minFresh(minFresh: Duration) =
          apply {
            val minFreshSeconds = minFresh.inWholeSeconds
            require(minFreshSeconds >= 0) { "minFresh < 0: $minFreshSeconds" }
            this.minFreshSeconds = minFreshSeconds.commonClampToInt()
          }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.noCache()
        builder = builder.noStore()
        builder = builder.maxAge(0, TimeUnit.MILLISECONDS)
        builder = builder.maxStale(0, TimeUnit.MILLISECONDS)
        builder = builder.minFresh(0, TimeUnit.MILLISECONDS)
        builder = builder.onlyIfCached()
        builder = builder.noTransform()
        builder = builder.immutable()
        val cacheControl: CacheControl = builder.build()
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top