org.eclipse.jetty.continuation
Class ContinuationFilter
java.lang.Object
org.eclipse.jetty.continuation.ContinuationFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class ContinuationFilter
- extends java.lang.Object
- implements javax.servlet.Filter
ContinuationFilter
This filter may be applied to webapplication that use the asynchronous
features of the ContinuationFilter.FilteredContinuation
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
- jetty6
- Boolean to force support for jetty 6 continuations)
- faux
- Boolean to force support for faux continuations
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig filterConfig)
|
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(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.