Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 965:866f2e801618
handle() returns void
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 14 Oct 2016 02:19:21 -0600 |
| parents | 3cd4c706a61f |
| children | 5ee36654b383 |
comparison
equal
deleted
inserted
replaced
| 964:768414c16e10 | 965:866f2e801618 |
|---|---|
| 510 | 510 |
| 511 _request.setHandled(true); | 511 _request.setHandled(true); |
| 512 } | 512 } |
| 513 } | 513 } |
| 514 | 514 |
| 515 public abstract Connection handle() throws IOException; | 515 |
| 516 | |
| 517 /* ------------------------------------------------------------ */ | |
| 518 public void commitResponse(boolean last) throws IOException | 516 public void commitResponse(boolean last) throws IOException |
| 519 { | 517 { |
| 520 if (!_generator.isCommitted()) | 518 if (!_generator.isCommitted()) |
| 521 { | 519 { |
| 522 _generator.setResponse(_response.getStatus(), _response.getReason()); | 520 _generator.setResponse(_response.getStatus(), _response.getReason()); |
