类 WebProperties.Resources.Cache.Cachecontrol
java.lang.Object
org.springframework.boot.autoconfigure.web.WebProperties.Resources.Cache.Cachecontrol
Cache Control HTTP header configuration.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
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)
-
构造器详细资料
-
Cachecontrol
public Cachecontrol()
-
-
方法详细资料
-
getMaxAge
-
setMaxAge
-
getNoCache
-
setNoCache
-
getNoStore
-
setNoStore
-
getMustRevalidate
-
setMustRevalidate
-
getNoTransform
-
setNoTransform
-
getCachePublic
-
setCachePublic
-
getCachePrivate
-
setCachePrivate
-
getProxyRevalidate
-
setProxyRevalidate
-
getStaleWhileRevalidate
-
setStaleWhileRevalidate
-
getStaleIfError
-
setStaleIfError
-
getSMaxAge
-
setSMaxAge
-
toHttpCacheControl
-