diff src/org/eclipse/jetty/server/Request.java @ 935:aa7dc1802d29

remove ContinuationListener
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 21:15:24 -0600
parents 3268ddf919d4
children 0541b6034003
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Request.java	Sun Oct 09 21:03:00 2016 -0600
+++ b/src/org/eclipse/jetty/server/Request.java	Sun Oct 09 21:15:24 2016 -0600
@@ -63,7 +63,6 @@
 import javax.servlet.http.Part;
 
 import org.eclipse.jetty.continuation.Continuation;
-import org.eclipse.jetty.continuation.ContinuationListener;
 import org.eclipse.jetty.http.HttpCookie;
 import org.eclipse.jetty.http.HttpFields;
 import org.eclipse.jetty.http.HttpHeaders;
@@ -197,8 +196,6 @@
 	{
 		if (listener instanceof ServletRequestAttributeListener)
 			_requestAttributeListeners = LazyList.add(_requestAttributeListeners,listener);
-		if (listener instanceof ContinuationListener)
-			throw new IllegalArgumentException(listener.getClass().toString());
 		if (listener instanceof AsyncListener)
 			throw new IllegalArgumentException(listener.getClass().toString());
 	}