Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AsyncContinuation.java @ 927:1c1c350fbe4b
remove AsyncContinuation.cancel()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 18:34:24 -0600 |
parents | 88b20b775fa2 |
children | 23a57aad34c0 |
comparison
equal
deleted
inserted
replaced
926:88b20b775fa2 | 927:1c1c350fbe4b |
---|---|
460 _timeoutMs=DEFAULT_TIMEOUT; | 460 _timeoutMs=DEFAULT_TIMEOUT; |
461 _continuationListeners=null; | 461 _continuationListeners=null; |
462 } | 462 } |
463 } | 463 } |
464 | 464 |
465 /* ------------------------------------------------------------ */ | |
466 public void cancel() | |
467 { | |
468 synchronized (this) | |
469 { | |
470 cancelTimeout(); | |
471 _continuationListeners=null; | |
472 } | |
473 } | |
474 | |
475 /* ------------------------------------------------------------ */ | 465 /* ------------------------------------------------------------ */ |
476 protected void cancelTimeout() | 466 protected void cancelTimeout() |
477 { | 467 { |
478 EndPoint endp=_connection.getEndPoint(); | 468 EndPoint endp=_connection.getEndPoint(); |
479 if (endp.isBlocking()) | 469 if (endp.isBlocking()) |