CloseReason.CloseCode (Java(TM) EE 7 Specification APIs) (original) (raw)
- 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 and Description int getCode() Returns the code number, for example the integer '1000' for normal closure. Method Detail
* #### getCode int getCode() Returns the code number, for example the integer '1000' for normal closure. Returns: the code number
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.