info.magnolia.module.cache.executor
Class Store

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

public class Store
extends AbstractExecutor

Wraps the response and stores the content in a cache Entry.

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

Constructor Summary
Store()
           
 
Method Summary
protected  CachePolicy getCachePolicy(Cache cache)
           
protected  CacheModule getModule()
           
protected  CachedEntry makeCachedEntry(javax.servlet.http.HttpServletRequest request, CacheResponseWrapper cachedResponse)
           
 void processCacheRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain, Cache cache, CachePolicyResult cachePolicyResult)
           
 
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

Store

public Store()
Method Detail

processCacheRequest

public 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

makeCachedEntry

protected CachedEntry makeCachedEntry(javax.servlet.http.HttpServletRequest request,
                                      CacheResponseWrapper cachedResponse)
                               throws java.io.IOException
Throws:
java.io.IOException

getCachePolicy

protected CachePolicy getCachePolicy(Cache cache)

getModule

protected CacheModule getModule()


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