Uses of Interface
jakarta.websocket.CloseReason.CloseCode
-
Uses of CloseReason.CloseCode in jakarta.websocket
Classes in jakarta.websocket that implement CloseReason.CloseCodeModifier and TypeClassDescriptionstatic enum
An Enumeration of status codes for a web socket close that are defined in the specification.Methods in jakarta.websocket that return CloseReason.CloseCodeModifier and TypeMethodDescriptionstatic CloseReason.CloseCode
CloseReason.CloseCodes.getCloseCode
(int code) Creates a CloseCode from the given int code number.CloseReason.getCloseCode()
The Close code associated with this CloseReason.Constructors in jakarta.websocket with parameters of type CloseReason.CloseCodeModifierConstructorDescriptionCloseReason
(CloseReason.CloseCode closeCode, String reasonPhrase) Creates a reason for closing a web socket connection with the given code and reason phrase.