Class CookieCacheControlFilter
java.lang.Object
org.eclipse.rdf4j.workbench.proxy.CookieCacheControlFilter
- All Implemented Interfaces:
javax.servlet.Filter
Browsers do not expire cache if Cookies have changed. Even if "Vary: Cookie" header is set. This filter intercepts
the Last-Modified and If-Modified-Since headers to include modification of browser cookies.
- Author:
- James Leigh
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CookieCacheControlFilter
public CookieCacheControlFilter()
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroyin interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-