public class RequestChain extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RequestChain.ServletFilterChain |
Modifier and Type | Field and Description |
---|---|
protected FilterSet[] |
filters |
protected javax.servlet.http.HttpServlet |
servlet |
Constructor and 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.
|
Modifier and Type | Method and 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) |
protected javax.servlet.http.HttpServlet servlet
public RequestChain(javax.servlet.http.HttpServlet servlet, FilterSet[] filters)
servlet
- the targetfilters
- the filter setspublic FilterSet[] getFilters()
public javax.servlet.http.HttpServlet getServlet()
public void init(ServletDescriptor sd, javax.servlet.ServletConfig config) throws javax.servlet.ServletException
javax.servlet.ServletException
public void execute(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public void destroy()
Copyright © 2015 Nuxeo SA. All rights reserved.