Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
971:f997df37cec1 | 972:5ee36654b383 |
---|---|
22 | 22 |
23 import org.eclipse.jetty.io.Connection; | 23 import org.eclipse.jetty.io.Connection; |
24 | 24 |
25 public interface AsyncConnection extends Connection | 25 public interface AsyncConnection extends Connection |
26 { | 26 { |
27 void onInputShutdown() throws IOException; | 27 void onInputShutdown() throws IOException; |
28 | |
29 /** | |
30 * <p>The semantic of this method is to return true to indicate interest in further reads, | |
31 * or false otherwise, but it is misnamed and should be really called <code>isReadInterested()</code>.</p> | |
32 * | |
33 * @return true to indicate interest in further reads, false otherwise | |
34 */ | |
35 // TODO: rename to isReadInterested() in the next release | |
36 boolean isSuspended(); | |
28 } | 37 } |