org.deegree.enterprise.servlet
Class LoggingFilter
java.lang.Object
org.deegree.enterprise.servlet.LoggingFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class LoggingFilter
- extends java.lang.Object
- implements javax.servlet.Filter
servlet filter for logging incoming requests and outgoing responses. Through the init-params a
user may limit logging to:
- requests received from a list of defined source/remote addresses
- returned mime types
- meta informations about the incoming request
- Since:
- 2.0
- Version:
- $Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingFilter
public LoggingFilter()
init
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Parameters:
config
-
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Parameters:
request
- response
- chain
-
- Throws:
java.io.IOException
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org