com.caucho.server.dispatch
Class CometFilterFilterChain
java.lang.Object
com.caucho.server.dispatch.AbstractFilterChain
com.caucho.server.dispatch.CometFilterFilterChain
- All Implemented Interfaces:
- CometFilterChain, FilterChain
public class CometFilterFilterChain
- extends AbstractFilterChain
Represents the next filter in a filter chain. The final filter will
be the servlet itself.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CometFilterFilterChain
public CometFilterFilterChain(CometFilterChain next,
CometFilter filter)
- Creates a new FilterChainFilter.
- Parameters:
next - the next filterChainfilter - the user's filter
doFilter
public void doFilter(ServletRequest request,
ServletResponse response)
throws ServletException,
java.io.IOException
- Invokes the next filter in the chain or the final servlet at
the end of the chain.
- Parameters:
request - the servlet requestresponse - the servlet response
- Throws:
ServletException
java.io.IOException- Since:
- Servlet 2.3
doResume
public boolean doResume(ServletRequest request,
ServletResponse response)
throws ServletException,
java.io.IOException
- Resumes the request.
- Specified by:
doResume in interface CometFilterChain- Overrides:
doResume in class AbstractFilterChain
- Parameters:
request - the servlet requestresponse - the servlet response
- Returns:
- true for keepalive, false for the end of the request
- Throws:
ServletException
java.io.IOException- Since:
- Resin 3.1.3