Uses of Interface
jakarta.websocket.CloseReason.CloseCode
Package
Description
This package contains all the Jakarta WebSocket APIs common to both the client and server side.
Core classes.
-
Uses of CloseReason.CloseCode in jakarta.websocket
Modifier and TypeClassDescriptionstatic enum
An Enumeration of status codes for a web socket close that are defined in the specification.Modifier 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.ModifierConstructorDescriptionCloseReason
(CloseReason.CloseCode closeCode, String reasonPhrase) Creates a reason for closing a web socket connection with the given code and reason phrase. -
Uses of CloseReason.CloseCode in org.glassfish.tyrus.core
Modifier and TypeMethodDescriptionstatic CloseReason
CloseReasons.create
(CloseReason.CloseCode closeCode, String reasonPhrase)