Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AsyncContinuation.java @ 920:3268ddf919d4
remove AsyncContinuation.isAsyncStarted()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 03:51:31 -0600 |
parents | dd6b1f079634 |
children | a5af9ee7cf91 |
comparison
equal
deleted
inserted
replaced
919:dd6b1f079634 | 920:3268ddf919d4 |
---|---|
555 } | 555 } |
556 } | 556 } |
557 } | 557 } |
558 | 558 |
559 /* ------------------------------------------------------------ */ | 559 /* ------------------------------------------------------------ */ |
560 public boolean isCompleting() | |
561 { | |
562 synchronized (this) | |
563 { | |
564 return false; | |
565 } | |
566 } | |
567 | |
568 /* ------------------------------------------------------------ */ | |
569 boolean isUncompleted() | 560 boolean isUncompleted() |
570 { | 561 { |
571 synchronized (this) | 562 synchronized (this) |
572 { | 563 { |
573 return _state==__UNCOMPLETED; | 564 return _state==__UNCOMPLETED; |
578 public boolean isComplete() | 569 public boolean isComplete() |
579 { | 570 { |
580 synchronized (this) | 571 synchronized (this) |
581 { | 572 { |
582 return _state==__COMPLETED; | 573 return _state==__COMPLETED; |
583 } | |
584 } | |
585 | |
586 | |
587 /* ------------------------------------------------------------ */ | |
588 public boolean isAsyncStarted() | |
589 { | |
590 synchronized (this) | |
591 { | |
592 switch(_state) | |
593 { | |
594 default: | |
595 return false; | |
596 } | |
597 } | 574 } |
598 } | 575 } |
599 | 576 |
600 | 577 |
601 /* ------------------------------------------------------------ */ | 578 /* ------------------------------------------------------------ */ |