public class MovedFilterChain extends java.lang.Object implements FilterChain
Constructor and Description |
---|
MovedFilterChain(int code,
java.lang.String url)
Create the redirect filter chain servlet.
|
MovedFilterChain(int code,
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 MovedFilterChain(int code, java.lang.String url)
url
- the URL to redirect to.public MovedFilterChain(int code, 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