Uses of Class
com.github.mizosoft.methanol.CacheControl.Builder
Packages that use CacheControl.Builder
-
Uses of CacheControl.Builder in com.github.mizosoft.methanol
Methods in com.github.mizosoft.methanol that return CacheControl.BuilderModifier and TypeMethodDescriptionCacheControl.Builder.anyMaxStale()Sets themax-staledirective to accept any stale response.Sets the given directive with no argument.Sets the given directive to the given argument.Sets themax-agedirective to the given duration.Sets themax-staledirective to the given duration.Sets themin-freshdirective to the given duration.static CacheControl.BuilderCacheControl.newBuilder()Returns a newBuilder.CacheControl.Builder.noCache()Sets theno-cachedirective.CacheControl.Builder.noStore()Sets theno-storedirective.CacheControl.Builder.noTransform()Sets theno-transformdirective.CacheControl.Builder.onlyIfCached()Sets theonly-if-cacheddirective.CacheControl.Builder.staleIfError(Duration staleIfError) Sets thestale-if-errordirective to the given duration.