net.sourceforge.pebble.web.filter
Class LoggingFilter

java.lang.Object
  extended by net.sourceforge.pebble.web.filter.LoggingFilter

public class LoggingFilter
extends java.lang.Object

A filter that logs certain incoming requests.

Author:
Simon Brown

Constructor Summary
LoggingFilter()
           
 
Method Summary
 void destroy()
          Called when this filter is taken out of service.
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          Contains the processing associated with this filter.
 void init(FilterConfig config)
          Initialises this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingFilter

public LoggingFilter()
Method Detail

init

public void init(FilterConfig config)
Initialises this instance.

Parameters:
config - a FilterConfig instance

destroy

public void destroy()
Called when this filter is taken out of service.


doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws ServletException,
                     java.io.IOException
Contains the processing associated with this filter.

Throws:
ServletException
java.io.IOException


Copyright © 2003-2006, Simon Brown. All Rights Reserved.