Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Jetty継続を使用していますが、クライアントがサーバーから切断された(jettyサーバーへの接続が閉じられた)ことを検出できるかどうか疑問に思いました。
ありがとう、アルフレッド
よりクリーンな方法があるかどうかはわかりませんが、continuation.resume()を呼び出すと、クライアントが切断されている場合にIllegalStateExceptionが発生します。その例外をキャッチするだけです。