@InterfaceAudience.LimitedPrivate(value="Configuration") public class NoCacheFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static String |
NO_STORE
Constant for the configuration property that indicates no-store cache control is enabled.
|
private boolean |
noStoreEnabled |
Constructor and Description |
---|
NoCacheFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public static final String NO_STORE
private boolean noStoreEnabled
public NoCacheFilter()
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.