Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] WebSocketConnectionListener guarantees

Hi folks,

On the org.eclipse.jetty.websocket.api.WebSocketConnectionListener interface, can I assume that if onWebSocketConnect is called, indicating a successful connection, then onWebSocketClose will be called at some point in future, even if the connection closes without a valid close frame?

In other words, can onWebSocketClose be used to clean up resources established in onWebSocketConnect (assuming the process has not been terminated)?

--
James Reeves



Back to the top