info.magnolia.module.cache.executor
Class SetExpirationHeaders

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

public class SetExpirationHeaders
extends AbstractExecutor

TODO : avoid duplication with CacheHeadersFilter ???

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

Constructor Summary
SetExpirationHeaders()
           
 
Method Summary
 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

SetExpirationHeaders

public SetExpirationHeaders()
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


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