public class CacheControlImpl extends Object implements javax.portlet.CacheControl
| Constructor and Description |
|---|
CacheControlImpl(int expirationSecs,
CacheScope cacheScope) |
| Modifier and Type | Method and Description |
|---|---|
String |
getETag() |
int |
getExpirationTime() |
boolean |
isPublicScope() |
void |
setETag(String etag) |
void |
setExpirationTime(int expirationTime) |
void |
setPublicScope(boolean publicScope) |
void |
setUseCachedContent(boolean useCachedContent) |
boolean |
useCachedContent() |
public CacheControlImpl(int expirationSecs,
CacheScope cacheScope)
public int getExpirationTime()
getExpirationTime in interface javax.portlet.CacheControlpublic void setExpirationTime(int expirationTime)
setExpirationTime in interface javax.portlet.CacheControlpublic boolean isPublicScope()
isPublicScope in interface javax.portlet.CacheControlpublic void setPublicScope(boolean publicScope)
setPublicScope in interface javax.portlet.CacheControlpublic String getETag()
getETag in interface javax.portlet.CacheControlpublic void setETag(String etag)
setETag in interface javax.portlet.CacheControlpublic boolean useCachedContent()
useCachedContent in interface javax.portlet.CacheControlpublic void setUseCachedContent(boolean useCachedContent)
setUseCachedContent in interface javax.portlet.CacheControlCopyright © 2003-2019 GateIn. All Rights Reserved.