public static class ResourceProperties.Cache.Cachecontrol extends Object
Constructor and Description |
---|
Cachecontrol() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getCachePrivate() |
Boolean |
getCachePublic() |
Duration |
getMaxAge() |
Boolean |
getMustRevalidate() |
Boolean |
getNoCache() |
Boolean |
getNoStore() |
Boolean |
getNoTransform() |
Boolean |
getProxyRevalidate() |
Duration |
getSMaxAge() |
Duration |
getStaleIfError() |
Duration |
getStaleWhileRevalidate() |
void |
setCachePrivate(Boolean cachePrivate) |
void |
setCachePublic(Boolean cachePublic) |
void |
setMaxAge(Duration maxAge) |
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) |
org.springframework.http.CacheControl |
toHttpCacheControl() |
public Duration getMaxAge()
public void setMaxAge(Duration maxAge)
public Boolean getNoCache()
public void setNoCache(Boolean noCache)
public Boolean getNoStore()
public void setNoStore(Boolean noStore)
public Boolean getMustRevalidate()
public void setMustRevalidate(Boolean mustRevalidate)
public Boolean getNoTransform()
public void setNoTransform(Boolean noTransform)
public Boolean getCachePublic()
public void setCachePublic(Boolean cachePublic)
public Boolean getCachePrivate()
public void setCachePrivate(Boolean cachePrivate)
public Boolean getProxyRevalidate()
public void setProxyRevalidate(Boolean proxyRevalidate)
public Duration getStaleWhileRevalidate()
public void setStaleWhileRevalidate(Duration staleWhileRevalidate)
public Duration getStaleIfError()
public void setStaleIfError(Duration staleIfError)
public Duration getSMaxAge()
public void setSMaxAge(Duration sMaxAge)
public org.springframework.http.CacheControl toHttpCacheControl()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.