Class HibernateSqlCollectingFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class HibernateSqlCollectingFilter
    extends com.atlassian.core.filters.AbstractHttpFilter
    A Servlet Filter which uses a HibernateSqlCollector to capture all SQL by Hibernate on the current request thread, and optionally stores that SQL for later retrieval.
    Since:
    7.6
    • Constructor Detail

    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Filter
        Overrides:
        destroy in class com.atlassian.core.filters.AbstractHttpFilter
      • 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