public class CacheControlImpl
extends Object
implements javax.portlet.CacheControl
Constructor and Description |
---|
CacheControlImpl(String eTag,
int expirationTime,
boolean publicScope,
boolean useCachedContent,
MimeResponseImpl mimeResponseImpl) |
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(String eTag, int expirationTime, boolean publicScope, boolean useCachedContent, MimeResponseImpl mimeResponseImpl)
public String getETag()
getETag
in interface javax.portlet.CacheControl
public int getExpirationTime()
getExpirationTime
in interface javax.portlet.CacheControl
public boolean isPublicScope()
isPublicScope
in interface javax.portlet.CacheControl
public void setETag(String eTag)
setETag
in interface javax.portlet.CacheControl
public void setExpirationTime(int expirationTime)
setExpirationTime
in interface javax.portlet.CacheControl
public void setPublicScope(boolean publicScope)
setPublicScope
in interface javax.portlet.CacheControl
public void setUseCachedContent(boolean useCachedContent)
setUseCachedContent
in interface javax.portlet.CacheControl
public boolean useCachedContent()
useCachedContent
in interface javax.portlet.CacheControl