[undertow-dev] Handling termination of WebSocket connection

Vladimir Tsukur flushdia at gmail.com
Mon Oct 20 16:20:54 EDT 2014


Let's imagine user closed browser tab and thus terminated WebSocket
connection. Is there any way to run a callback method on the server-side to
handle this case?

The requirement is to perform necessary cleanup actions when connection is
closed, regardless of the type of disconnect (normal, forced termination,
etc.).

(Ideally using lower level API, and not JSR 356)

-- 
Vladimir Tsukur
Software Architect, Design Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20141020/a8378b77/attachment.html 


More information about the undertow-dev mailing list