public final class ApplicationFilterChain extends java.lang.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(java.util.Set<java.lang.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 java.io.IOException, ServletException
service() method of the servlet itself.doFilter in interface FilterChainrequest - The servlet request we are processingresponse - The servlet response we are creatingjava.io.IOException - if an input/output error occursServletException - if a servlet exception occurspublic static ServletRequest getLastServicedRequest()
public static ServletResponse getLastServicedResponse()
public void findNonAsyncFilters(java.util.Set<java.lang.String> result)
result - The Set to which the fully qualified class names of each Filter in this FilterChain that does not
support async will be addedCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.