Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AsyncContinuation.java @ 931:6f7e2ff51879
remove ContinuationThrowable
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 19:24:55 -0600 |
parents | cd080b7bcf49 |
children | 947df3056ddb |
comparison
equal
deleted
inserted
replaced
930:cd080b7bcf49 | 931:6f7e2ff51879 |
---|---|
31 import javax.servlet.ServletRequest; | 31 import javax.servlet.ServletRequest; |
32 import javax.servlet.ServletResponse; | 32 import javax.servlet.ServletResponse; |
33 import javax.servlet.http.HttpServletRequest; | 33 import javax.servlet.http.HttpServletRequest; |
34 | 34 |
35 import org.eclipse.jetty.continuation.Continuation; | 35 import org.eclipse.jetty.continuation.Continuation; |
36 import org.eclipse.jetty.continuation.ContinuationThrowable; | |
37 import org.eclipse.jetty.continuation.ContinuationListener; | 36 import org.eclipse.jetty.continuation.ContinuationListener; |
38 import org.eclipse.jetty.io.AsyncEndPoint; | 37 import org.eclipse.jetty.io.AsyncEndPoint; |
39 import org.eclipse.jetty.io.EndPoint; | 38 import org.eclipse.jetty.io.EndPoint; |
40 import org.eclipse.jetty.server.handler.ContextHandler; | 39 import org.eclipse.jetty.server.handler.ContextHandler; |
41 import org.eclipse.jetty.server.handler.ContextHandler.Context; | 40 import org.eclipse.jetty.server.handler.ContextHandler.Context; |
51 public class AsyncContinuation implements AsyncContext, Continuation | 50 public class AsyncContinuation implements AsyncContext, Continuation |
52 { | 51 { |
53 private static final Logger LOG = LoggerFactory.getLogger(AsyncContinuation.class); | 52 private static final Logger LOG = LoggerFactory.getLogger(AsyncContinuation.class); |
54 | 53 |
55 private final static long DEFAULT_TIMEOUT=30000L; | 54 private final static long DEFAULT_TIMEOUT=30000L; |
56 | 55 |
57 private final static ContinuationThrowable __exception = new ContinuationThrowable(); | |
58 | |
59 // STATES: | 56 // STATES: |
60 // handling() suspend() unhandle() resume() complete() doComplete() | 57 // handling() suspend() unhandle() resume() complete() doComplete() |
61 // startAsync() dispatch() | 58 // startAsync() dispatch() |
62 // IDLE DISPATCHED | 59 // IDLE DISPATCHED |
63 // DISPATCHED ASYNCSTARTED UNCOMPLETED | 60 // DISPATCHED ASYNCSTARTED UNCOMPLETED |