public class RedirectFilterChain extends java.lang.Object implements FilterChain
Constructor and Description |
---|
RedirectFilterChain(java.lang.String url)
Create the redirect filter chain servlet.
|
RedirectFilterChain(java.lang.String url,
java.lang.String queryString)
Create the redirect filter chain servlet.
|
Modifier and Type | Method and Description |
---|---|
void |
doFilter(ServletRequest request,
ServletResponse response)
Invokes the final servlet at the end of the chain.
|
public RedirectFilterChain(java.lang.String url)
url
- the URL to redirect to.public RedirectFilterChain(java.lang.String url, java.lang.String queryString)
url
- the URL to redirect to.public void doFilter(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
doFilter
in interface FilterChain
request
- the servlet requestresponse
- the servlet responseServletException
java.io.IOException