public class CacheControlDirectives extends Object implements CacheControl
CacheControl implementation.| Modifier and Type | Class and Description |
|---|---|
static class |
CacheControlDirectives.CacheControlBuilder |
CacheControl.Builder| Constructor and Description |
|---|
CacheControlDirectives() |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
asHeader()
Returns the cache-control directives as HTTP header value
|
long |
getMaxAge()
Get the max-age cache control directive.
|
long |
getSMaxAge()
Get the s-maxage cache control directive.
|
boolean |
isMustRevalidate()
Get the must-revalidate cache control directive.
|
boolean |
isNoCache()
Get the no-cache cache control directive.
|
boolean |
isNoStore()
Get the no-store cache control directive.
|
boolean |
isNoTransform()
Get the no-transform cache control directive.
|
boolean |
isPrivate()
Get the private cache control directive.
|
boolean |
isProxyRevalidate()
Get the proxy-revalidate cache control directive.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic boolean isMustRevalidate()
CacheControlisMustRevalidate in interface CacheControlpublic boolean isProxyRevalidate()
CacheControlisProxyRevalidate in interface CacheControlpublic long getMaxAge()
CacheControlgetMaxAge in interface CacheControlpublic long getSMaxAge()
CacheControlgetSMaxAge in interface CacheControlpublic boolean isNoCache()
CacheControlisNoCache in interface CacheControlpublic boolean isPrivate()
CacheControlisPrivate in interface CacheControlpublic boolean isNoTransform()
CacheControlisNoTransform in interface CacheControlpublic boolean isNoStore()
CacheControlisNoStore in interface CacheControlpublic Optional<String> asHeader()
CacheControlasHeader in interface CacheControlCopyright © 2019 The Holon Platform. All rights reserved.