Class RequestChain
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.servlet.RequestChain
- Author:
- Bogdan Stefanescu
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRequestChain
(javax.servlet.http.HttpServlet servlet, FilterSet[] filters) Create a new request chain given the target servlet and an optional list of filter sets. -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
execute
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) javax.servlet.http.HttpServlet
void
init
(ServletDescriptor sd, javax.servlet.ServletConfig config)
-
Field Details
-
servlet
protected javax.servlet.http.HttpServlet servlet -
filters
-
-
Constructor Details
-
RequestChain
Create a new request chain given the target servlet and an optional list of filter sets.- Parameters:
servlet
- the targetfilters
- the filter sets
-
-
Method Details
-
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()
-