com.atlassian.confluence.web
Class ConfluenceJohnsonFilter

java.lang.Object
  extended by com.atlassian.core.filters.AbstractFilter
      extended by com.atlassian.johnson.filters.AbstractJohnsonFilter
          extended by com.atlassian.johnson.filters.JohnsonFilter
              extended by com.atlassian.confluence.web.ConfluenceJohnsonFilter
All Implemented Interfaces:
javax.servlet.Filter

public class ConfluenceJohnsonFilter
extends com.atlassian.johnson.filters.JohnsonFilter

This filter tries to conserve the resource location for the browser. This way consequent requests caused by the error page refreshing it self


Field Summary
static java.lang.String ALREADY_FILTERED
           
static org.apache.log4j.Logger log
          Deprecated. 
static java.lang.String URL_SETUP
           
 
Fields inherited from class com.atlassian.johnson.filters.AbstractJohnsonFilter
config, filterConfig, TEXT_XML_UTF8_CONTENT_TYPE
 
Constructor Summary
ConfluenceJohnsonFilter()
           
 
Method Summary
protected  void handleError(com.atlassian.johnson.JohnsonEventContainer appEventContainer, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
           
 
Methods inherited from class com.atlassian.johnson.filters.JohnsonFilter
handleNotSetup
 
Methods inherited from class com.atlassian.johnson.filters.AbstractJohnsonFilter
doFilter, getContainerAndRunEventChecks, getServletPath, getStringForEvents, ignoreURI, init
 
Methods inherited from class com.atlassian.core.filters.AbstractFilter
destroy, getFilterConfig, setFilterConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

@Deprecated
public static final org.apache.log4j.Logger log
Deprecated. 

ALREADY_FILTERED

public static final java.lang.String ALREADY_FILTERED

URL_SETUP

public static final java.lang.String URL_SETUP
See Also:
Constant Field Values
Constructor Detail

ConfluenceJohnsonFilter

public ConfluenceJohnsonFilter()
Method Detail

handleError

protected void handleError(com.atlassian.johnson.JohnsonEventContainer appEventContainer,
                           javax.servlet.http.HttpServletRequest servletRequest,
                           javax.servlet.http.HttpServletResponse servletResponse)
                    throws java.io.IOException
Overrides:
handleError in class com.atlassian.johnson.filters.JohnsonFilter
Throws:
java.io.IOException


Copyright © 2003-2010 Atlassian. All Rights Reserved.