public class MockCacheControl extends Object implements CacheControl
CacheControl
interface.Constructor and Description |
---|
MockCacheControl() |
Modifier and Type | Method and Description |
---|---|
String |
getETag() |
int |
getExpirationTime() |
boolean |
isPublicScope() |
void |
setETag(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 String getETag()
getETag
in interface CacheControl
public void setETag(String token)
setETag
in interface CacheControl
public boolean useCachedContent()
useCachedContent
in interface CacheControl
public void setUseCachedContent(boolean useCachedContent)
setUseCachedContent
in interface CacheControl