Uses of Class
jakarta.websocket.CloseReason
-
Uses of CloseReason in jakarta.websocket
Methods in jakarta.websocket with parameters of type CloseReasonModifier and TypeMethodDescriptionvoidSession.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.