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()
          Deprecated. since 4.5.17. Use Store(CacheModule) instead.
Store(CacheModule cacheModule)
           
 
Method Summary
protected  CachePolicy getCachePolicy(Cache cache)
           
protected  CacheModule getModule()
          Deprecated. since 4.5, use cacheModule instead.
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()
Deprecated. since 4.5.17. Use Store(CacheModule) instead.


Store

@Inject
public Store(CacheModule cacheModule)
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 cacheModule instead.



Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.