Uses of Class
javax.websocket.CloseReason
| Package | Description |
|---|---|
| javax.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
-
Uses of CloseReason in javax.websocket
Methods in javax.websocket with parameters of type CloseReason Modifier and Type Method Description voidSession. close(CloseReason closeReason)Close the current conversation, giving a reason for the closure.voidEndpoint. onClose(Session session, CloseReason closeReason)This method is called immediately prior to the session with the remote peer being closed.