Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 959:7b94f5b33c64
remove onClose()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 13 Oct 2016 18:53:26 -0600 |
parents | 1094975d013b |
children | 3cd4c706a61f |
comparison
equal
deleted
inserted
replaced
958:fc521d2f098e | 959:7b94f5b33c64 |
---|---|
611 _include--; | 611 _include--; |
612 if (_out!=null) | 612 if (_out!=null) |
613 _out.reopen(); | 613 _out.reopen(); |
614 } | 614 } |
615 | 615 |
616 /* ------------------------------------------------------------ */ | |
617 public boolean isIdle() | 616 public boolean isIdle() |
618 { | 617 { |
619 return _generator.isIdle() && (_parser.isIdle() || _delayedHandling); | 618 return _generator.isIdle() && (_parser.isIdle() || _delayedHandling); |
620 } | 619 } |
621 | 620 |
626 public boolean isSuspended() | 625 public boolean isSuspended() |
627 { | 626 { |
628 return false; | 627 return false; |
629 } | 628 } |
630 | 629 |
631 /* ------------------------------------------------------------ */ | |
632 public void onClose() | |
633 { | |
634 LOG.debug("closed {}",this); | |
635 } | |
636 | |
637 /* ------------------------------------------------------------ */ | |
638 public boolean isExpecting100Continues() | 630 public boolean isExpecting100Continues() |
639 { | 631 { |
640 return _expect100Continue; | 632 return _expect100Continue; |
641 } | 633 } |
642 | 634 |
643 /* ------------------------------------------------------------ */ | |
644 public boolean isExpecting102Processing() | 635 public boolean isExpecting102Processing() |
645 { | 636 { |
646 return _expect102Processing; | 637 return _expect102Processing; |
647 } | 638 } |
648 | 639 |
649 /* ------------------------------------------------------------ */ | |
650 public int getMaxIdleTime() | 640 public int getMaxIdleTime() |
651 { | 641 { |
652 if (_connector.isLowResources() && _endp.getMaxIdleTime()==_connector.getMaxIdleTime()) | 642 if (_connector.isLowResources() && _endp.getMaxIdleTime()==_connector.getMaxIdleTime()) |
653 return 0; | 643 return 0; |
654 if (_endp.getMaxIdleTime()>0) | 644 if (_endp.getMaxIdleTime()>0) |
655 return _endp.getMaxIdleTime(); | 645 return _endp.getMaxIdleTime(); |
656 return _connector.getMaxIdleTime(); | 646 return _connector.getMaxIdleTime(); |
657 } | 647 } |
658 | 648 |
659 /* ------------------------------------------------------------ */ | |
660 public String toString() | 649 public String toString() |
661 { | 650 { |
662 return String.format("%s,g=%s,p=%s,r=%d", | 651 return String.format("%s,g=%s,p=%s,r=%d", |
663 super.toString(), | 652 super.toString(), |
664 _generator, | 653 _generator, |