public class CacheControl extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheControl.Builder
Mutable builder.
|
| Constructor and Description |
|---|
CacheControl(Directives directives) |
CacheControl(Header header) |
CacheControl(String value) |
| Modifier and Type | Method and Description |
|---|---|
Directives |
getDirectives() |
int |
getMaxAge() |
int |
getMaxStale() |
int |
getMinFresh() |
int |
getSMaxAge() |
boolean |
isMustRevalidate() |
boolean |
isNoCache() |
boolean |
isNoStore() |
boolean |
isNoTransform() |
boolean |
isOnlyIfCached() |
boolean |
isPrivate() |
boolean |
isProxyRevalidate() |
boolean |
isPublic() |
Header |
toHeader() |
public CacheControl(String value)
public CacheControl(Header header)
public CacheControl(Directives directives)
public boolean isPrivate()
public int getMaxAge()
public int getSMaxAge()
public boolean isPublic()
public int getMaxStale()
public int getMinFresh()
public boolean isOnlyIfCached()
public boolean isNoTransform()
public boolean isMustRevalidate()
public boolean isProxyRevalidate()
public boolean isNoStore()
public boolean isNoCache()
public Directives getDirectives()
public Header toHeader()
Copyright © 2008-2013. All Rights Reserved.