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 java.lang.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)
           
 java.util.Collection<BrowserCachePolicy> getPolicies()
           
 void setPolicies(java.util.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 java.util.Collection<BrowserCachePolicy> getPolicies()

setPolicies

public void setPolicies(java.util.Collection<BrowserCachePolicy> policies)

canCacheOnClient

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


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.