|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.cache.browsercachepolicy.AbstractVoterBased
public abstract class AbstractVoterBased
Uses a VoterSet
to decided if the file should be cached in the browser. If no voters are configured it means that the content can be cached.
Constructor Summary | |
---|---|
AbstractVoterBased()
|
Method Summary | |
---|---|
BrowserCachePolicyResult |
canCacheOnClient(CachePolicyResult cachePolicyResult)
|
protected abstract BrowserCachePolicyResult |
getPositiveVoteResult(CachePolicyResult cachePolicyResult)
|
VoterSet |
getVoters()
|
void |
setVoters(VoterSet voters)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractVoterBased()
Method Detail |
---|
public VoterSet getVoters()
public void setVoters(VoterSet voters)
public BrowserCachePolicyResult canCacheOnClient(CachePolicyResult cachePolicyResult)
canCacheOnClient
in interface BrowserCachePolicy
protected abstract BrowserCachePolicyResult getPositiveVoteResult(CachePolicyResult cachePolicyResult)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |