Class TransactionalCacheFactoryCleanupFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class TransactionalCacheFactoryCleanupFilter
    extends com.atlassian.core.filters.AbstractHttpFilter
    A servlet filter which ensures that any thread-bound transactional caches (as managed by TransactionalCacheFactory) are properly cleaned up and not allowed to pollute subsequent usages of the same request thread.
    Since:
    5.5
    • Constructor Detail

      • TransactionalCacheFactoryCleanupFilter

        public TransactionalCacheFactoryCleanupFilter()
    • Method Detail

      • 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