Class DebugFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class DebugFilter
    extends com.atlassian.core.filters.AbstractHttpFilter
    Emits diagnostic info about the response.
    • Constructor Detail

      • DebugFilter

        @Deprecated
        public DebugFilter()
        Deprecated.
        since 7.14
        Default constructor for use in web.xml. Fields configured via init-params.
      • DebugFilter

        public DebugFilter​(String phase)
        Since:
        7.14
    • Method Detail

      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Filter
        Overrides:
        init in class com.atlassian.core.filters.AbstractHttpFilter
        Throws:
        javax.servlet.ServletException
      • doFilter

        protected 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