public class ForwardFilterChain extends java.lang.Object implements FilterChain
Constructor and Description |
---|
ForwardFilterChain(RequestDispatcher disp)
Create the forward filter chain servlet.
|
ForwardFilterChain(java.lang.String url)
Create the forward filter chain servlet.
|
ForwardFilterChain(java.lang.String url,
boolean isRoot) |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(ServletRequest request,
ServletResponse response)
Forwards to the dispatch
|
java.lang.String |
toString() |
public ForwardFilterChain(java.lang.String url)
url
- the request dispatcher to forward to.public ForwardFilterChain(java.lang.String url, boolean isRoot)
public ForwardFilterChain(RequestDispatcher disp)
disp
- the request dispatcher to forward 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
public java.lang.String toString()
toString
in class java.lang.Object