@Deprecated public class Constants extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static byte | OPCODE_BINARYDeprecated.  | 
| static byte | OPCODE_CLOSEDeprecated.  | 
| static byte | OPCODE_CONTINUATIONDeprecated.  | 
| static byte | OPCODE_PINGDeprecated.  | 
| static byte | OPCODE_PONGDeprecated.  | 
| static byte | OPCODE_TEXTDeprecated.  | 
| static String | PackageDeprecated.  | 
| static int | STATUS_BAD_DATADeprecated.  1007 indicates that an endpoint is terminating the connection
 because it has received data within a message that was not
 consistent with the type of the message (e.g., non-UTF-8 [RFC3629]
 data within a text message). | 
| static int | STATUS_CLOSE_NORMALDeprecated.  1000 indicates a normal closure, meaning whatever purpose the
 connection was established for has been fulfilled. | 
| static int | STATUS_CLOSED_UNEXPECTEDLYDeprecated.  1006 is a reserved value and MUST NOT be set as a status code in a
 Close control frame by an endpoint. | 
| static int | STATUS_CODE_MISSINGDeprecated.  1005 is a reserved value and MUST NOT be set as a status code in a
 Close control frame by an endpoint. | 
| static int | STATUS_MESSAGE_TOO_LARGEDeprecated.  1009 indicates that an endpoint is terminating the connection
 because it has received a message which is too big for it to
 process. | 
| static int | STATUS_POLICY_VIOLATIONDeprecated.  1008 indicates that an endpoint is terminating the connection
 because it has received a message that violates its policy. | 
| static int | STATUS_PROTOCOL_ERRORDeprecated.  1002 indicates that an endpoint is terminating the connection due
 to a protocol error. | 
| static int | STATUS_REQUIRED_EXTENSIONDeprecated.  1010 indicates that an endpoint (client) is terminating the
 connection because it has expected the server to negotiate one or
 more extension, but the server didn't return them in the response
 message of the WebSocket handshake. | 
| static int | STATUS_SHUTDOWNDeprecated.  1001 indicates that an endpoint is "going away", such as a server
 going down, or a browser having navigated away from a page. | 
| static int | STATUS_UNEXPECTED_CONDITIONDeprecated.  1011 indicates that a server is terminating the connection because it
 encountered an unexpected condition that prevented it from fulfilling the
 request. | 
| static int | STATUS_UNEXPECTED_DATA_TYPEDeprecated.  1003 indicates that an endpoint is terminating the connection
 because it has received a type of data it cannot accept (e.g. an
 endpoint that understands only text data MAY send this if it
 receives a binary message). | 
| Constructor and Description | 
|---|
| Constants()Deprecated.  | 
public static final String Package
public static final byte OPCODE_CONTINUATION
public static final byte OPCODE_TEXT
public static final byte OPCODE_BINARY
public static final byte OPCODE_CLOSE
public static final byte OPCODE_PING
public static final byte OPCODE_PONG
public static final int STATUS_CLOSE_NORMAL
public static final int STATUS_SHUTDOWN
public static final int STATUS_PROTOCOL_ERROR
public static final int STATUS_UNEXPECTED_DATA_TYPE
public static final int STATUS_CODE_MISSING
public static final int STATUS_CLOSED_UNEXPECTEDLY
public static final int STATUS_BAD_DATA
public static final int STATUS_POLICY_VIOLATION
public static final int STATUS_MESSAGE_TOO_LARGE
public static final int STATUS_REQUIRED_EXTENSION
public static final int STATUS_UNEXPECTED_CONDITION
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.