org.apache.cocoon.servlet
Class DebugFilter
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.servlet.DebugFilter
- All Implemented Interfaces:
- Filter
- public class DebugFilter
- extends org.apache.cocoon.util.AbstractLogEnabled
- implements Filter
Servlet filter for printing request debug information into log file.
- Version:
- $Id: DebugFilter.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lineSeparator
protected static final String lineSeparator
DebugFilter
public DebugFilter()
init
public void init(FilterConfig config)
throws ServletException
- Specified by:
init
in interface Filter
- Throws:
ServletException
- See Also:
Filter.init(javax.servlet.FilterConfig)
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
- See Also:
Filter.destroy()
doFilter
public void doFilter(ServletRequest req,
ServletResponse res,
FilterChain filterChain)
throws IOException,
ServletException
- Log debug information about the current environment.
- Specified by:
doFilter
in interface Filter
- Throws:
IOException
ServletException
- See Also:
Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.