public abstract class AbstractVoterBased extends Object implements BrowserCachePolicy
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 and Description |
---|
AbstractVoterBased() |
Modifier and Type | Method and Description |
---|---|
BrowserCachePolicyResult |
canCacheOnClient(CachePolicyResult cachePolicyResult) |
protected abstract BrowserCachePolicyResult |
getPositiveVoteResult(CachePolicyResult cachePolicyResult) |
info.magnolia.voting.voters.VoterSet |
getVoters() |
void |
setVoters(info.magnolia.voting.voters.VoterSet voters) |
public info.magnolia.voting.voters.VoterSet getVoters()
public void setVoters(info.magnolia.voting.voters.VoterSet voters)
public BrowserCachePolicyResult canCacheOnClient(CachePolicyResult cachePolicyResult)
canCacheOnClient
in interface BrowserCachePolicy
protected abstract BrowserCachePolicyResult getPositiveVoteResult(CachePolicyResult cachePolicyResult)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.