diff src/org/eclipse/jetty/server/AsyncContinuation.java @ 930:cd080b7bcf49

remove AsyncContinuation.undispatch()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 19:20:52 -0600
parents 3191abe890ef
children 6f7e2ff51879
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncContinuation.java	Sun Oct 09 19:13:46 2016 -0600
+++ b/src/org/eclipse/jetty/server/AsyncContinuation.java	Sun Oct 09 19:20:52 2016 -0600
@@ -176,15 +176,6 @@
 		return _responseWrapped;
 	}
 
-/*
-	public boolean isInitial()
-	{
-		synchronized(this)
-		{
-			return true;
-		}
-	}
-*/	
 	/* ------------------------------------------------------------ */
 	/* (non-Javadoc)
 	 * @see javax.servlet.ServletRequest#isSuspended()
@@ -575,21 +566,6 @@
 		_connection.getRequest().setAttribute(name,attribute);
 	}
 
-	/* ------------------------------------------------------------ */
-	/**
-	 * @see org.eclipse.jetty.continuation.Continuation#undispatch()
-	 */
-	public void undispatch()
-	{
-		if (isSuspended())
-		{
-			if (LOG.isDebugEnabled())
-				throw new ContinuationThrowable();
-			else
-				throw __exception;
-		}
-		throw new IllegalStateException("!suspended");
-	}
 
 	/* ------------------------------------------------------------ */
 	/* ------------------------------------------------------------ */