public class

CommonsRequestLoggingFilter

extends AbstractRequestLoggingFilter
java.lang.Object
   ↳ org.springframework.web.filter.GenericFilterBean
     ↳ org.springframework.web.filter.OncePerRequestFilter
       ↳ org.springframework.web.filter.AbstractRequestLoggingFilter
         ↳ org.springframework.web.filter.CommonsRequestLoggingFilter

Class Overview

Simple request logging filter that writes the request URI (and optionally the query string) to the Commons Log.

Summary

[Expand]
Inherited Constants
From class org.springframework.web.filter.AbstractRequestLoggingFilter
From class org.springframework.web.filter.OncePerRequestFilter
[Expand]
Inherited Fields
From class org.springframework.web.filter.GenericFilterBean
Public Constructors
CommonsRequestLoggingFilter()
Protected Methods
void afterRequest(HttpServletRequest request, String message)
Writes a log message after the request is processed.
void beforeRequest(HttpServletRequest request, String message)
Writes a log message before the request is processed.
[Expand]
Inherited Methods
From class org.springframework.web.filter.AbstractRequestLoggingFilter
From class org.springframework.web.filter.OncePerRequestFilter
From class org.springframework.web.filter.GenericFilterBean
From class java.lang.Object
From interface javax.servlet.Filter
From interface org.springframework.beans.factory.BeanNameAware
From interface org.springframework.beans.factory.DisposableBean
From interface org.springframework.beans.factory.InitializingBean
From interface org.springframework.context.EnvironmentAware
From interface org.springframework.web.context.ServletContextAware

Public Constructors

public CommonsRequestLoggingFilter ()

Protected Methods

protected void afterRequest (HttpServletRequest request, String message)

Writes a log message after the request is processed.

Parameters
request current HTTP request
message the message to log

protected void beforeRequest (HttpServletRequest request, String message)

Writes a log message before the request is processed.

Parameters
request current HTTP request
message the message to log