Class WebProperties.Resources.Cache.Cachecontrol
java.lang.Object
org.springframework.boot.autoconfigure.web.WebProperties.Resources.Cache.Cachecontrol
- Enclosing class:
- WebProperties.Resources.Cache
Cache Control HTTP header configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCachePrivate
(Boolean cachePrivate) void
setCachePublic
(Boolean cachePublic) void
void
setMustRevalidate
(Boolean mustRevalidate) void
setNoCache
(Boolean noCache) void
setNoStore
(Boolean noStore) void
setNoTransform
(Boolean noTransform) void
setProxyRevalidate
(Boolean proxyRevalidate) void
setSMaxAge
(Duration sMaxAge) void
setStaleIfError
(Duration staleIfError) void
setStaleWhileRevalidate
(Duration staleWhileRevalidate)
-
Constructor Details
-
Cachecontrol
public Cachecontrol()
-
-
Method Details
-
getMaxAge
-
setMaxAge
-
getNoCache
-
setNoCache
-
getNoStore
-
setNoStore
-
getMustRevalidate
-
setMustRevalidate
-
getNoTransform
-
setNoTransform
-
getCachePublic
-
setCachePublic
-
getCachePrivate
-
setCachePrivate
-
getProxyRevalidate
-
setProxyRevalidate
-
getStaleWhileRevalidate
-
setStaleWhileRevalidate
-
getStaleIfError
-
setStaleIfError
-
getSMaxAge
-
setSMaxAge
-
toHttpCacheControl
-