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