- RawFrame - Class in ej.websocket.frame
-
This is just a convenient class to encapsulate a byte array that contains a complete websocket frame.
- RawFrame(byte[]) - Constructor for class ej.websocket.frame.RawFrame
-
bytes
will be copied internally so that it is not tied to the newly created instance and can then be reused.
- ReasonForClosure - Class in ej.websocket
-
A
ReasonForClosure
is a close code (which is a number) and a close reason (which a String that may be empty).
- ReasonForClosure(int, String) - Constructor for class ej.websocket.ReasonForClosure
-
- RECEIVE - Static variable in class ej.websocket.Messages
-
Receive some data.
- RECEIVED_BINARY_FRAME - Static variable in class ej.websocket.Messages
-
We received a binary frame.
- RECEIVED_CLOSE_FRAME - Static variable in class ej.websocket.Messages
-
We received a close frame.
- RECEIVED_INCONSISTENT_DATA - Static variable in class ej.websocket.CloseCodes
-
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).
- RECEIVED_PING_FRAME - Static variable in class ej.websocket.Messages
-
We received a ping frame.
- RECEIVED_PONG_FRAME - Static variable in class ej.websocket.Messages
-
We received a pong frame.
- RECEIVED_TEXT_FRAME - Static variable in class ej.websocket.Messages
-
We received a text frame.
- RECEIVER_FRAME_RECEIVED - Static variable in class ej.websocket.Messages
-
One frame has been received.
- RECEIVER_START - Static variable in class ej.websocket.Messages
-
The receiver is started.
- RECEIVER_TERMINATED - Static variable in class ej.websocket.Messages
-
If we get here and no exception occurred, it means that the connection has been closed.
- RECEIVER_TIMEOUT - Static variable in class ej.websocket.Messages
-
This case happens when the OnTimeOutCloser closes the underlying TCP connection.
- removeRange(byte[], int, int) - Static method in class ej.websocket.util.ArraysTools
-
Removes a range of data in an array.
- RESERVED_1004 - Static variable in class ej.websocket.CloseCodes
-
Reserved.
- RESPOND_CLOSING - Static variable in class ej.websocket.Messages
-
Respond to a closing handshake.