Class RequestFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    @Extension
    public class RequestFilter
    extends Object
    implements javax.servlet.Filter
    This class implements javax.Servlet Filter Interface for cathing all requests in Jenkins. These requests are controlled against filter definitions.
    • Constructor Detail

      • RequestFilter

        public RequestFilter()
    • Method Detail

      • init

        @Initializer
        public static void init()
                         throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
        Specified by:
        init in interface javax.servlet.Filter
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest servletRequest,
                             javax.servlet.ServletResponse servletResponse,
                             javax.servlet.FilterChain filterChain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        IOException
        javax.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Filter