toggle menu
methanol-parent
1.8.0-SNAPSHOT
jvm
switch theme
search in API
methanol.kotlin
/
com.github.mizosoft.methanol.kotlin
/
CacheControlSpec
Cache
Control
Spec
@
Spec
interface
CacheControlSpec
A
spec
for configuring
CacheControl
instances.
Members
Functions
any
Max
Stale
Link copied to clipboard
abstract
fun
anyMaxStale
(
)
max
Age
Link copied to clipboard
abstract
fun
maxAge
(
maxAge
:
Duration
)
max
Stale
Link copied to clipboard
abstract
fun
maxStale
(
maxStale
:
Duration
)
min
Fresh
Link copied to clipboard
abstract
fun
minFresh
(
minFresh
:
Duration
)
no
Cache
Link copied to clipboard
abstract
fun
noCache
(
)
no
Store
Link copied to clipboard
abstract
fun
noStore
(
)
no
Transform
Link copied to clipboard
abstract
fun
noTransform
(
)
only
If
Cached
Link copied to clipboard
abstract
fun
onlyIfCached
(
)
stale
If
Error
Link copied to clipboard
abstract
fun
staleIfError
(
staleIfError
:
Duration
)
to
Link copied to clipboard
abstract
infix
fun
String
.
to
(
value
:
String
)
unary
Plus
Link copied to clipboard
abstract
operator
fun
String
.
unaryPlus
(
)