Implementation of a Valve 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.
WARNING: Using this valve has side-effects. The output from this valve includes any parameters associated with the request. Therefore, the InputStream is consumed for requests made with the method POST and content-type application/x-www-form-urlencoded.
This Valve may be attached to any Container, depending on the granularity of the logging you wish to perform.
@author Craig R. McClanahan @version $Id: RequestDumperValve.java 1135572 2011-06-14 13:46:24Z markt $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|