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()
          Deprecated. since 4.5, use IoC/CDI
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 IOException,
                                javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

makeCachedEntry

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

getCachePolicy

protected CachePolicy getCachePolicy(Cache cache)

getModule

@Deprecated
protected CacheModule getModule()
Deprecated. since 4.5, use IoC/CDI



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