info.magnolia.module.cache.executor
Class UseCache

java.lang.Object
  extended by info.magnolia.module.cache.executor.AbstractExecutor
      extended by info.magnolia.module.cache.executor.UseCache
All Implemented Interfaces:
CachePolicyExecutor

public class UseCache
extends AbstractExecutor

Serves the content from the cache.

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

Constructor Summary
UseCache()
           
 
Method Summary
protected  void processCachedEntry(CachedEntry cached, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
           
 void processCacheRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain, Cache cache, CachePolicyResult cachePolicy)
           
 
Methods inherited from class info.magnolia.module.cache.executor.AbstractExecutor
getCacheConfiguration, ifModifiedSince, setCacheConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseCache

public UseCache()
Method Detail

processCacheRequest

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

processCachedEntry

protected void processCachedEntry(CachedEntry cached,
                                  javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response,
                                  javax.servlet.FilterChain chain)
                           throws java.io.IOException,
                                  javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


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