Package org.apache.hadoop.hbase.http
Class NoCacheFilter
java.lang.Object
org.apache.hadoop.hbase.http.NoCacheFilter
- All Implemented Interfaces:
javax.servlet.Filter
@LimitedPrivate("Configuration")
public class NoCacheFilter
extends Object
implements javax.servlet.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constant for the configuration property that indicates no-store cache control is enabled.private boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
NO_STORE
Constant for the configuration property that indicates no-store cache control is enabled.- See Also:
-
noStoreEnabled
-
-
Constructor Details
-
NoCacheFilter
public NoCacheFilter()
-
-
Method Details
-
init
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
destroy
- Specified by:
destroy
in interfacejavax.servlet.Filter
-