Class ManagedFilter

  • All Implemented Interfaces:
    Lifecycle

    public class ManagedFilter
    extends java.lang.Object
    implements Lifecycle
    Author:
    Stuart Douglas
    • Method Detail

      • doFilter

        public void doFilter​(jakarta.servlet.ServletRequest request,
                             jakarta.servlet.ServletResponse response,
                             jakarta.servlet.FilterChain chain)
                      throws java.io.IOException,
                             jakarta.servlet.ServletException
        Throws:
        java.io.IOException
        jakarta.servlet.ServletException
      • createFilter

        public void createFilter()
                          throws jakarta.servlet.ServletException
        Throws:
        jakarta.servlet.ServletException
      • start

        public void start()
                   throws jakarta.servlet.ServletException
        Specified by:
        start in interface Lifecycle
        Throws:
        jakarta.servlet.ServletException
      • stop

        public void stop()
        Specified by:
        stop in interface Lifecycle
      • getFilterInfo

        public FilterInfo getFilterInfo()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • forceInit

        public void forceInit()
                       throws jakarta.servlet.ServletException
        Throws:
        jakarta.servlet.ServletException