- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for noStore (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt
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() assertThat(cacheControl.isPublic).isFalse()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
) fun noCache(): Boolean = noCache @JvmName("-deprecated_noStore") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "noStore"), level = DeprecationLevel.ERROR, ) fun noStore(): Boolean = noStore @JvmName("-deprecated_maxAgeSeconds") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "maxAgeSeconds"),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
.Builder() .onlyIfCached() .maxStale(Int.MAX_VALUE.seconds) .build() internal fun CacheControl.Builder.commonBuild(): CacheControl = CacheControl( noCache = noCache, noStore = noStore, maxAgeSeconds = maxAgeSeconds, sMaxAgeSeconds = -1, isPrivate = false, isPublic = false, mustRevalidate = false, maxStaleSeconds = maxStaleSeconds, minFreshSeconds = minFreshSeconds,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
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() .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @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() val mustRevalidate: Boolean = cacheControl.mustRevalidate()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test 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 val mustRevalidate: Boolean = cacheControl.mustRevalidate
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
return false } } // A 'no-store' directive on request or response prevents the response from being cached. return !response.cacheControl.noStore && !request.cacheControl.noStore } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
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; public final fun sMaxAgeSeconds ()I public fun toString ()Ljava/lang/String;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
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; public final fun sMaxAgeSeconds ()I public fun toString ()Ljava/lang/String;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)