Class RequestChain
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.servlet.RequestChain
-
public class RequestChain extends Object
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestChain.ServletFilterChain
-
Constructor Summary
Constructors Constructor Description RequestChain(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
execute(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
FilterSet[]
getFilters()
javax.servlet.http.HttpServlet
getServlet()
void
init(ServletDescriptor sd, javax.servlet.ServletConfig config)
-
-
-
Field Detail
-
servlet
protected javax.servlet.http.HttpServlet servlet
-
filters
protected FilterSet[] filters
-
-
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 targetfilters
- 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()
-
-