org.enhydra.servlet.filter
Class StandardLoggingFilter
java.lang.Object
|
+--org.enhydra.servlet.filter.Filter
|
+--org.enhydra.servlet.filter.MultiServerFilter
|
+--org.enhydra.servlet.filter.StandardLoggingFilter
- public class StandardLoggingFilter
- extends MultiServerFilter
This is the standard logging filter that is used with the MultiServer.
It uses the standard logging facility to log the basic information
about each request and response. The text is written to the MultiServer
facility, at the REQUEST level.
- Author:
- Andy John
, Kent Henneuse
, Shawn McMurdo
- See Also:
org.enhydra.servlet.filter.StandardLoggingServlet
,
StandardLoggingResponse
Method Summary |
ResponseFilter |
wrapResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the ResponseFilter for this Filter by wrapping the given Response. |
Methods inherited from class org.enhydra.servlet.filter.Filter |
getDescription, getDestroyInterceptor, getInitInterceptor, getServiceInterceptor, registerInterceptors, setDescription, setDestroyInterceptor, setInitInterceptor, setServiceInterceptor, toString, unregisterInterceptors, wrapRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
transactionId
protected static long transactionId
StandardLoggingFilter
public StandardLoggingFilter(java.lang.String description,
KeywordValueTable initArgs)
throws KeywordValueException
- Create a new filter. This filter does not use any initial
arguments.
- Parameters:
description
- A human readable description of this filter.initArgs
- Unused by this filter.
wrapResponse
public ResponseFilter wrapResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Description copied from class:
Filter
- Get the ResponseFilter for this Filter by wrapping the given Response.
- Specified by:
wrapResponse
in class Filter
- Parameters:
request
- an HttpServletRequest that is generally not used, but
is available for request-response data coordination.response
- an HttpServletResponse to be wrapped by the filter.
- Returns:
- a ResponseFilter