org.eclipse.jetty.continuation
Class ContinuationFilter

java.lang.Object
  extended by 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.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


Nested Class Summary
static interface ContinuationFilter.FilteredContinuation
           
 
Constructor Summary
ContinuationFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuationFilter

public ContinuationFilter()
Method Detail

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-2011 Mort Bay Consulting. All Rights Reserved.