Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/Connection.java @ 965:866f2e801618
handle() returns void
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 14 Oct 2016 02:19:21 -0600 |
| parents | 7b94f5b33c64 |
| children | 5ee36654b383 |
comparison
equal
deleted
inserted
replaced
| 964:768414c16e10 | 965:866f2e801618 |
|---|---|
| 35 public interface Connection | 35 public interface Connection |
| 36 { | 36 { |
| 37 /* ------------------------------------------------------------ */ | 37 /* ------------------------------------------------------------ */ |
| 38 /** | 38 /** |
| 39 * Handle the connection. | 39 * Handle the connection. |
| 40 * @return The Connection to use for the next handling of the connection. | |
| 41 * This allows protocol upgrades and support for CONNECT. | |
| 42 * @throws IOException if the handling of I/O operations fail | 40 * @throws IOException if the handling of I/O operations fail |
| 43 */ | 41 */ |
| 44 Connection handle() throws IOException; | 42 void handle() throws IOException; |
| 45 | 43 |
| 46 /** | 44 /** |
| 47 * @return the timestamp at which the connection was created | 45 * @return the timestamp at which the connection was created |
| 48 */ | 46 */ |
| 49 long getTimeStamp(); | 47 long getTimeStamp(); |
