Class RequestChain

    • Field Detail

      • servlet

        protected javax.servlet.http.HttpServlet servlet
    • Constructor Detail

      • RequestChain

        public RequestChain​(javax.servlet.http.HttpServlet servlet,
                            FilterSet[] filters)
        Create a new request chain given the target servlet and an optional list of filter sets.
        Parameters:
        servlet - the target
        filters - the filter sets
    • Method Detail

      • getFilters

        public FilterSet[] getFilters()
      • getServlet

        public javax.servlet.http.HttpServlet getServlet()
      • init

        public void init​(ServletDescriptor sd,
                         javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • execute

        public void execute​(javax.servlet.ServletRequest request,
                            javax.servlet.ServletResponse response)
                     throws IOException,
                            javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • destroy

        public void destroy()