Package org.apache.hadoop.hbase.http
Class TestServletFilter.SimpleFilter
java.lang.Object
org.apache.hadoop.hbase.http.TestServletFilter.SimpleFilter
- All Implemented Interfaces:
javax.servlet.Filter
- Direct Known Subclasses:
TestServletFilter.ErrorFilter
- Enclosing class:
- TestServletFilter
A very simple filter which record the uri filtered.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configuration for the filter -
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
filterConfig
-
-
Constructor Details
-
SimpleFilter
public SimpleFilter()
-
-
Method Details
-
init
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
destroy
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-