public class MockCacheControl extends java.lang.Object implements CacheControl
CacheControl
interface.Constructor and Description |
---|
MockCacheControl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getETag() |
int |
getExpirationTime() |
boolean |
isPublicScope() |
void |
setETag(java.lang.String token) |
void |
setExpirationTime(int time) |
void |
setPublicScope(boolean publicScope) |
void |
setUseCachedContent(boolean useCachedContent) |
boolean |
useCachedContent() |
public int getExpirationTime()
getExpirationTime
in interface CacheControl
public void setExpirationTime(int time)
setExpirationTime
in interface CacheControl
public boolean isPublicScope()
isPublicScope
in interface CacheControl
public void setPublicScope(boolean publicScope)
setPublicScope
in interface CacheControl
public java.lang.String getETag()
getETag
in interface CacheControl
public void setETag(java.lang.String token)
setETag
in interface CacheControl
public boolean useCachedContent()
useCachedContent
in interface CacheControl
public void setUseCachedContent(boolean useCachedContent)
setUseCachedContent
in interface CacheControl