NuxeoRequestControllerFilter
@Deprecated public class SimpleCacheFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static DateFormat |
HTTP_EXPIRES_DATE_FORMAT
Deprecated.
|
Constructor and Description |
---|
SimpleCacheFilter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addCacheHeader(javax.servlet.http.HttpServletResponse httpResponse,
String cacheTime)
Deprecated.
|
void |
destroy()
Deprecated.
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Deprecated.
|
void |
init(javax.servlet.FilterConfig conf)
Deprecated.
|
public static final DateFormat HTTP_EXPIRES_DATE_FORMAT
public SimpleCacheFilter()
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public static void addCacheHeader(javax.servlet.http.HttpServletResponse httpResponse, String cacheTime)
public void destroy()
destroy
in interface javax.servlet.Filter
public void init(javax.servlet.FilterConfig conf) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
Copyright © 2018 Nuxeo. All rights reserved.