Class 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

      • Fields inherited from class com.atlassian.johnson.filters.AbstractJohnsonFilter

        config, filterConfig, TEXT_XML_UTF8_CONTENT_TYPE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doFilter​(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain)  
      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

        destroy, getContainerAndRunEventChecks, getServletPath, getStringForEvents, ignoreURI, init
    • Constructor Detail

      • ConfluenceJohnsonFilter

        public ConfluenceJohnsonFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest servletRequest,
                             javax.servlet.ServletResponse servletResponse,
                             javax.servlet.FilterChain filterChain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Overrides:
        doFilter in class com.atlassian.johnson.filters.AbstractJohnsonFilter
        Throws:
        IOException
        javax.servlet.ServletException
      • handleError

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