Package org.apache.hadoop.hbase.http
Class ClickjackingPreventionFilter
java.lang.Object
org.apache.hadoop.hbase.http.ClickjackingPreventionFilter
- All Implemented Interfaces:
javax.servlet.Filter
@LimitedPrivate("Configuration")
public class ClickjackingPreventionFilter
extends Object
implements javax.servlet.Filter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
doFilter
(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) getDefaultParameters
(org.apache.hadoop.conf.Configuration conf) void
init
(javax.servlet.FilterConfig filterConfig)
-
Field Details
-
filterConfig
-
DEFAULT_XFRAMEOPTIONS
- See Also:
-
-
Constructor Details
-
ClickjackingPreventionFilter
public ClickjackingPreventionFilter()
-
-
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
-
getDefaultParameters
-