Package javax.websocket
Interface CloseReason.CloseCode
-
- All Known Implementing Classes:
CloseReason.CloseCodes
- Enclosing class:
- CloseReason
public static interface CloseReason.CloseCode
A marker interface for the close codes. This interface may be implemented by enumerations that contain web socket close codes, for example enumerations that contain all the in use close codes as of web socket 1.0, or an enumeration that contains close codes that are currently reserved for special use by the web socket specification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCode()
Returns the code number, for example the integer '1000' for normal closure.
-