Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 974:7422ca1ae146
remove Connection.isIdle()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 15 Oct 2016 23:27:08 -0600 |
parents | 5ee36654b383 |
children | d35b0a3a7a4a |
comparison
equal
deleted
inserted
replaced
973:4d9fe9cc554d | 974:7422ca1ae146 |
---|---|
449 { | 449 { |
450 throw (e instanceof EofException) ? e:new EofException(e); | 450 throw (e instanceof EofException) ? e:new EofException(e); |
451 } | 451 } |
452 } | 452 } |
453 | 453 |
454 public final boolean isIdle() | |
455 { | |
456 return _generator.isIdle() && (_parser.isIdle() || _delayedHandling); | |
457 } | |
458 | |
459 public final boolean isExpecting102Processing() | 454 public final boolean isExpecting102Processing() |
460 { | 455 { |
461 return _expect102Processing; | 456 return _expect102Processing; |
462 } | 457 } |
463 | 458 |
677 | 672 |
678 private void content(Buffer buffer) throws IOException | 673 private void content(Buffer buffer) throws IOException |
679 { | 674 { |
680 if (_delayedHandling) | 675 if (_delayedHandling) |
681 { | 676 { |
682 _delayedHandling=false; | 677 _delayedHandling = false; |
683 handleRequest(); | 678 handleRequest(); |
684 } | 679 } |
685 } | 680 } |
686 | 681 |
687 private void messageComplete(long contentLength) throws IOException | 682 private void messageComplete(long contentLength) throws IOException |
688 { | 683 { |
689 if (_delayedHandling) | 684 if (_delayedHandling) |
690 { | 685 { |
691 _delayedHandling=false; | 686 _delayedHandling = false; |
692 handleRequest(); | 687 handleRequest(); |
693 } | 688 } |
694 } | 689 } |
695 | 690 |
696 private void earlyEOF() | 691 private void earlyEOF() |