Class RequestChain

java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.servlet.RequestChain

public class RequestChain extends Object
Author:
Bogdan Stefanescu
  • Field Details

    • servlet

      protected javax.servlet.http.HttpServlet servlet
    • filters

      protected FilterSet[] filters
  • Constructor Details

    • 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 Details

    • 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()