public final class ApplicationFilterChain extends Object implements javax.servlet.FilterChain, HttpEventFilterChain
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()
Construct a new chain instance with no defined filters.
|
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Invoke the next filter in this chain, passing the specified request
and response.
|
void |
doFilterEvent(HttpEvent event)
Invoke the next filter in this chain, passing the specified request
and response.
|
int |
getFilterCount() |
ApplicationFilterConfig[] |
getFilters() |
static javax.servlet.ServletRequest |
getLastServicedRequest()
The last request passed to a servlet for servicing from the current
thread.
|
static javax.servlet.ServletResponse |
getLastServicedResponse()
The last response passed to a servlet for servicing from the current
thread.
|
int |
getPointer() |
javax.servlet.Servlet |
getServlet() |
Wrapper |
getWrapper() |
public static final int INCREMENT
public ApplicationFilterChain()
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws IOException, javax.servlet.ServletException
service()
method of the servlet itself.doFilter
in interface javax.servlet.FilterChain
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet exception occurspublic void doFilterEvent(HttpEvent event) throws IOException, javax.servlet.ServletException
service()
method of the servlet itself.doFilterEvent
in interface HttpEventFilterChain
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet exception occurspublic static javax.servlet.ServletRequest getLastServicedRequest()
public static javax.servlet.ServletResponse getLastServicedResponse()
public ApplicationFilterConfig[] getFilters()
public int getFilterCount()
public int getPointer()
public Wrapper getWrapper()
public javax.servlet.Servlet getServlet()
Copyright © 2016 JBoss by Red Hat. All rights reserved.