org.springframework.web.filter

Class ServletContextRequestLoggingFilter

    • Constructor Detail

      • ServletContextRequestLoggingFilter

        public ServletContextRequestLoggingFilter()
    • Method Detail

      • beforeRequest

        protected void beforeRequest(HttpServletRequest request,
                                     java.lang.String message)
        Writes a log message before the request is processed.
        Specified by:
        beforeRequest in class AbstractRequestLoggingFilter
        Parameters:
        request - current HTTP request
        message - the message to log
      • afterRequest

        protected void afterRequest(HttpServletRequest request,
                                    java.lang.String message)
        Writes a log message after the request is processed.
        Specified by:
        afterRequest in class AbstractRequestLoggingFilter
        Parameters:
        request - current HTTP request
        message - the message to log