public class MockCacheControl extends Object implements javax.portlet.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 javax.portlet.CacheControl
public void setExpirationTime(int time)
setExpirationTime
in interface javax.portlet.CacheControl
public boolean isPublicScope()
isPublicScope
in interface javax.portlet.CacheControl
public void setPublicScope(boolean publicScope)
setPublicScope
in interface javax.portlet.CacheControl
public String getETag()
getETag
in interface javax.portlet.CacheControl
public void setETag(String token)
setETag
in interface javax.portlet.CacheControl
public boolean useCachedContent()
useCachedContent
in interface javax.portlet.CacheControl
public void setUseCachedContent(boolean useCachedContent)
setUseCachedContent
in interface javax.portlet.CacheControl
Copyright © 2015. All rights reserved.