info.magnolia.module.cache
Interface CachePolicyExecutor

All Known Implementing Classes:
AbstractExecutor, Bypass, CompositeExecutor, SetExpirationHeaders, Store, UseCache

public interface CachePolicyExecutor

Executes something based on the outcome of the CachePolicy (store, bypass, server, set expiration headers).

Version:
$Revision: $ ($Author: $)
Author:
pbracher

Method Summary
 void processCacheRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain, Cache cache, CachePolicyResult cachePolicyResult)
           
 void setCacheConfiguration(CacheConfiguration cacheConfiguration)
           
 

Method Detail

processCacheRequest

void processCacheRequest(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         javax.servlet.FilterChain chain,
                         Cache cache,
                         CachePolicyResult cachePolicyResult)
                         throws java.io.IOException,
                                javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

setCacheConfiguration

void setCacheConfiguration(CacheConfiguration cacheConfiguration)


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