info.magnolia.module.cache.browsercachepolicy
Class BrowserCachePolicySet

java.lang.Object
  extended by info.magnolia.module.cache.browsercachepolicy.BrowserCachePolicySet
All Implemented Interfaces:
BrowserCachePolicy

public class BrowserCachePolicySet
extends Object
implements BrowserCachePolicy

A collection of BrowserCachePolicy. The first matching policy will be used.

Version:
$Id$

Constructor Summary
BrowserCachePolicySet()
           
 
Method Summary
 BrowserCachePolicyResult canCacheOnClient(CachePolicyResult cachePolicyResult)
           
 Collection<BrowserCachePolicy> getPolicies()
           
 void setPolicies(Collection<BrowserCachePolicy> policies)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserCachePolicySet

public BrowserCachePolicySet()
Method Detail

getPolicies

public Collection<BrowserCachePolicy> getPolicies()

setPolicies

public void setPolicies(Collection<BrowserCachePolicy> policies)

canCacheOnClient

public BrowserCachePolicyResult canCacheOnClient(CachePolicyResult cachePolicyResult)
Specified by:
canCacheOnClient in interface BrowserCachePolicy


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.