Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ui.web.cache
Class SimpleCacheFilter

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.cache.SimpleCacheFilter
All Implemented Interfaces:
Filter

Deprecated.

@Deprecated
public class SimpleCacheFilter
extends Object
implements Filter

Adding http cache header (Cache-Control : max-age AND Expire) to the response.

Author:
Sun Seng David TAN

Field Summary
static DateFormat HTTP_EXPIRES_DATE_FORMAT
          Deprecated.  
 
Constructor Summary
SimpleCacheFilter()
          Deprecated.  
 
Method Summary
static void addCacheHeader(HttpServletResponse httpResponse, String cacheTime)
          Deprecated.  
 void destroy()
          Deprecated.  
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          Deprecated.  
 void init(FilterConfig conf)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_EXPIRES_DATE_FORMAT

public static final DateFormat HTTP_EXPIRES_DATE_FORMAT
Deprecated. 
Constructor Detail

SimpleCacheFilter

public SimpleCacheFilter()
Deprecated. 
Method Detail

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Deprecated. 
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException

addCacheHeader

public static void addCacheHeader(HttpServletResponse httpResponse,
                                  String cacheTime)
Deprecated. 

destroy

public void destroy()
Deprecated. 
Specified by:
destroy in interface Filter

init

public void init(FilterConfig conf)
          throws ServletException
Deprecated. 
Specified by:
init in interface Filter
Throws:
ServletException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.