public class CacheControlImpl extends Object implements 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 CacheControl
public int getExpirationTime()
getExpirationTime
in interface CacheControl
public boolean isPublicScope()
isPublicScope
in interface CacheControl
public void setETag(String eTag)
setETag
in interface CacheControl
public void setExpirationTime(int expirationTime)
setExpirationTime
in interface CacheControl
public void setPublicScope(boolean publicScope)
setPublicScope
in interface CacheControl
public void setUseCachedContent(boolean useCachedContent)
setUseCachedContent
in interface CacheControl
public boolean useCachedContent()
useCachedContent
in interface CacheControl