Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/Request.java @ 920:3268ddf919d4
remove AsyncContinuation.isAsyncStarted()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 03:51:31 -0600 |
parents | 1fc8ee20cb18 |
children | aa7dc1802d29 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Request.java Sun Oct 09 03:45:31 2016 -0600 +++ b/src/org/eclipse/jetty/server/Request.java Sun Oct 09 03:51:31 2016 -0600 @@ -370,9 +370,7 @@ /* ------------------------------------------------------------ */ public AsyncContext getAsyncContext() { - if (_async.isInitial() && !_async.isAsyncStarted()) - throw new IllegalStateException(_async.getStatusString()); - return _async; + throw new UnsupportedOperationException(); } /* ------------------------------------------------------------ */ @@ -1220,7 +1218,7 @@ public boolean isAsyncStarted() { - return _async.isAsyncStarted(); + return false; }