public class RequestDumperFilter extends java.lang.Object implements Filter
Implementation of a Filter that logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing). It is especially useful in debugging problems related to headers and cookies.
When using this Filter, it is strongly recommended that the
org.apache.catalina.filter.RequestDumperFilter logger is
directed to a dedicated file and that the
org.apache.juli.VerbatimFormatter is used.
|Constructor and Description
|Modifier and Type
|Method and Description
Called by the web container to indicate to a filter that it is being taken out of service.
Log the interesting request parameters, invoke the next Filter in the sequence, and log the interesting response parameters.
Called by the web container to indicate to a filter that it is being placed into service.
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException
public void init(FilterConfig filterConfig) throws ServletException
The web container cannot place the filter into service if the init method either:
public void destroy()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.