org.nuxeo.ecm.platform.ui.web.cache
Class SimpleCacheFilter
java.lang.Object
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
HTTP_EXPIRES_DATE_FORMAT
public static final DateFormat HTTP_EXPIRES_DATE_FORMAT
- Deprecated.
SimpleCacheFilter
public SimpleCacheFilter()
- Deprecated.
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.