Class ApplicationFilterFactory


  • public final class ApplicationFilterFactory
    extends Object
    Factory for the creation and caching of Filters and creation of Filter Chains.
    Version:
    $Revision: 1.0
    Author:
    Greg Murray, Remy Maucherat
    • Method Detail

      • createFilterChain

        public org.apache.catalina.core.ApplicationFilterChain createFilterChain​(jakarta.servlet.ServletRequest request,
                                                                                 Wrapper wrapper,
                                                                                 jakarta.servlet.Servlet servlet)
        Construct and return a FilterChain implementation that will wrap the execution of the specified servlet instance. If we should not execute a filter chain at all, return null.
        Parameters:
        request - The servlet request we are processing
        wrapper - The wrapper for the servlet
        servlet - The servlet instance to be wrapped
        Returns:
        Filterchain that wraps the instance