Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/nio/SelectChannelConnector.java @ 937:0541b6034003
remove Continuation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 21:41:28 -0600 |
parents | 54308d65265a |
children | f5aefdc4a81a |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java Sun Oct 09 21:35:26 2016 -0600 +++ b/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java Sun Oct 09 21:41:28 2016 -0600 @@ -25,7 +25,6 @@ import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; -import org.eclipse.jetty.continuation.Continuation; import org.eclipse.jetty.io.AsyncEndPoint; import org.eclipse.jetty.io.ConnectedEndPoint; import org.eclipse.jetty.io.Connection; @@ -51,17 +50,6 @@ * <p> * This connector is best used when there are a many connections that have idle periods. * </p> - * <p> - * When used with {@link org.eclipse.jetty.continuation.Continuation}, threadless waits are supported. - * If a filter or servlet returns after calling {@link Continuation#suspend()} or when a - * runtime exception is thrown from a call to {@link Continuation#undispatch()}, Jetty will - * will not send a response to the client. Instead the thread is released and the Continuation is - * placed on the timer queue. If the Continuation timeout expires, or it's - * resume method is called, then the request is again allocated a thread and the request is retried. - * The limitation of this approach is that request content is not available on the retried request, - * thus if possible it should be read after the continuation or saved as a request attribute or as the - * associated object of the Continuation instance. - * </p> * * @org.apache.xbean.XBean element="nioConnector" description="Creates an NIO based socket connector" */