com.atlassian.confluence.util
Class LoggingContextFilter

java.lang.Object
  extended by com.atlassian.core.filters.AbstractHttpFilter
      extended by com.atlassian.confluence.util.LoggingContextFilter
All Implemented Interfaces:
javax.servlet.Filter

public class LoggingContextFilter
extends com.atlassian.core.filters.AbstractHttpFilter

Servlet filter that adds some relevant contextual information to the Log4J Mapped Diagnostic Context

See Also:
PatternLayoutWithContext, LoggingContext

Constructor Summary
LoggingContextFilter()
           
 
Method Summary
 void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
           
 
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter
destroy, doFilter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingContextFilter

public LoggingContextFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.FilterChain filterChain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in class com.atlassian.core.filters.AbstractHttpFilter
Throws:
IOException
javax.servlet.ServletException


Copyright © 2003–2015 Atlassian. All rights reserved.