Uses of Interface
javax.websocket.CloseReason.CloseCode
| Package | Description |
|---|---|
| javax.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
-
Uses of CloseReason.CloseCode in javax.websocket
Classes in javax.websocket that implement CloseReason.CloseCode Modifier and Type Class Description static classCloseReason.CloseCodesAn Enumeration of status codes for a web socket close that are defined in the specification.Methods in javax.websocket that return CloseReason.CloseCode Modifier and Type Method Description static CloseReason.CloseCodeCloseReason.CloseCodes. getCloseCode(int code)Creates a CloseCode from the given int code number.CloseReason.CloseCodeCloseReason. getCloseCode()The Close code associated with this CloseReason.Constructors in javax.websocket with parameters of type CloseReason.CloseCode Constructor Description CloseReason(CloseReason.CloseCode closeCode, java.lang.String reasonPhrase)Creates a reason for closing a web socket connection with the given code and reason phrase.