org.eclipse.jetty.continuation
Class ContinuationFilter
java.lang.Object
org.eclipse.jetty.continuation.ContinuationFilter
- All Implemented Interfaces:
- Filter
public class ContinuationFilter
- extends Object
- implements Filter
ContinuationFilter
This filter may be applied to webapplication that use the asynchronous
features of the ContinuationFilter.PartialContinuation
API, but that are deployed in container
that is neither Jetty (>=6.1) nor a Servlet3.0 container.
The following init parameters may be used to configure the filter (these are mostly for testing):
- debug
- Boolean controlling debug output
- partial
- Boolean to force support for partial continuation implementations (eg jetty 6)
- faux
- Boolean to force support for faux continuations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContinuationFilter
public ContinuationFilter()
init
public void init(FilterConfig filterConfig)
throws ServletException
- Specified by:
init
in interface Filter
- Throws:
ServletException
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter
in interface Filter
- Throws:
IOException
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.