Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/AsyncConnection.java @ 972:5ee36654b383
simplify AbstractHttpConnection
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 15 Oct 2016 22:42:05 -0600 |
parents | 3428c60d7cfc |
children |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/AsyncConnection.java Fri Oct 14 13:06:06 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/AsyncConnection.java Sat Oct 15 22:42:05 2016 -0600 @@ -24,5 +24,14 @@ public interface AsyncConnection extends Connection { - void onInputShutdown() throws IOException; + void onInputShutdown() throws IOException; + + /** + * <p>The semantic of this method is to return true to indicate interest in further reads, + * or false otherwise, but it is misnamed and should be really called <code>isReadInterested()</code>.</p> + * + * @return true to indicate interest in further reads, false otherwise + */ + // TODO: rename to isReadInterested() in the next release + boolean isSuspended(); }