org.apache.commons.monitoring.web.servlet
Class MonitoringFilter

java.lang.Object
  extended by org.apache.commons.monitoring.web.servlet.MonitoringFilter
All Implemented Interfaces:
Filter

public class MonitoringFilter
extends Object
implements Filter


Constructor Summary
MonitoringFilter()
           
 
Method Summary
 void destroy()
           
protected  void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
protected  String getRequestedUri(HttpServletRequest request)
           
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringFilter

public MonitoringFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

protected void doFilter(HttpServletRequest request,
                        HttpServletResponse response,
                        FilterChain chain)
                 throws IOException,
                        ServletException
Throws:
IOException
ServletException

getRequestedUri

protected String getRequestedUri(HttpServletRequest request)


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.