Interface ViteSessionTracker.SessionCloseListener
- Enclosing class:
ViteSessionTracker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener interface for HTTP session close events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonSessionClose(String httpSessionId, int closeCode, String closeMessage) Called when an HTTP session is closed.
-
Method Details
-
onSessionClose
Called when an HTTP session is closed.- Parameters:
httpSessionId- the ID of the HTTP session that was closedcloseCode- the WebSocket close code to use (e.g., 1008 for VIOLATED_POLICY)closeMessage- the close message to send with the WebSocket close
-