public class ProxyFilterChain extends Object implements javax.servlet.FilterChain
Constructor and Description |
---|
ProxyFilterChain(javax.servlet.FilterChain filterChain) |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(javax.servlet.Filter filter) |
void |
addFilters(List<javax.servlet.Filter> filters) |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
Calls the next filter in the chain.
|
public ProxyFilterChain(javax.servlet.FilterChain filterChain)
filterChain
- The filter chain from the web container. If null, no other filters will be
called after this chain is complete.public void addFilter(javax.servlet.Filter filter)
filter
- The servlet filter to add.public void addFilters(List<javax.servlet.Filter> filters)
filters
- The servlet filters to add.public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.FilterChain
IOException
javax.servlet.ServletException
FilterChain.doFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
This work is licensed under a Creative Commons Attribution 4.0 International License.