Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/Request.java @ 917:1fc8ee20cb18
remove doSuspend
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Sun, 09 Oct 2016 03:23:55 -0600 |
| parents | 39c12b2306a2 |
| children | 3268ddf919d4 |
comparison
equal
deleted
inserted
replaced
| 916:4de7f6e9c453 | 917:1fc8ee20cb18 |
|---|---|
| 1748 } | 1748 } |
| 1749 | 1749 |
| 1750 /* ------------------------------------------------------------ */ | 1750 /* ------------------------------------------------------------ */ |
| 1751 public AsyncContext startAsync() throws IllegalStateException | 1751 public AsyncContext startAsync() throws IllegalStateException |
| 1752 { | 1752 { |
| 1753 if (!_asyncSupported) | 1753 throw new UnsupportedOperationException(); |
| 1754 throw new IllegalStateException("!asyncSupported"); | |
| 1755 _async.startAsync(); | |
| 1756 return _async; | |
| 1757 } | 1754 } |
| 1758 | 1755 |
| 1759 /* ------------------------------------------------------------ */ | 1756 /* ------------------------------------------------------------ */ |
| 1760 public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException | 1757 public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException |
| 1761 { | 1758 { |
| 1762 if (!_asyncSupported) | 1759 throw new UnsupportedOperationException(); |
| 1763 throw new IllegalStateException("!asyncSupported"); | |
| 1764 _async.startAsync(_context,servletRequest,servletResponse); | |
| 1765 return _async; | |
| 1766 } | 1760 } |
| 1767 | 1761 |
| 1768 /* ------------------------------------------------------------ */ | 1762 /* ------------------------------------------------------------ */ |
| 1769 @Override | 1763 @Override |
| 1770 public String toString() | 1764 public String toString() |
