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

public static class TestServletFilter.SimpleFilter extends Object implements javax.servlet.Filter
A very simple filter which record the uri filtered.
  • Field Details

    • filterConfig

      private javax.servlet.FilterConfig filterConfig
  • Constructor Details

  • Method Details

    • init

      public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
      Specified by:
      init in interface javax.servlet.Filter
      Throws:
      javax.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface javax.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 interface javax.servlet.Filter
      Throws:
      IOException
      javax.servlet.ServletException