public final class ApplicationFilterChain extends Object implements FilterChain
javax.servlet.FilterChain
used to manage
the execution of a set of filters for a particular request. When the
set of defined filters has all been executed, the next call to
doFilter()
will execute the servlet's service()
method itself.Modifier and Type | Field and Description |
---|---|
static int |
INCREMENT |
Constructor and Description |
---|
ApplicationFilterChain() |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(ServletRequest request,
ServletResponse response)
Invoke the next filter in this chain, passing the specified request
and response.
|
void |
findNonAsyncFilters(Set<String> result)
Identifies the Filters, if any, in this FilterChain that do not support
async.
|
static ServletRequest |
getLastServicedRequest()
The last request passed to a servlet for servicing from the current
thread.
|
static ServletResponse |
getLastServicedResponse()
The last response passed to a servlet for servicing from the current
thread.
|
public static final int INCREMENT
public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException
service()
method of the servlet itself.doFilter
in interface FilterChain
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursServletException
- if a servlet exception occurspublic static ServletRequest getLastServicedRequest()
public static ServletResponse getLastServicedResponse()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.