public class PushConstants extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static char |
MESSAGE_DELIMITER
The character used to mark message boundaries when messages may be split
into multiple fragments.
|
static int |
WEBSOCKET_BUFFER_SIZE
The size, in bytes, of the receiving buffer used by some servers.
|
static int |
WEBSOCKET_FRAGMENT_SIZE
The maximum size, in characters, of a websocket message fragment.
|
Constructor and Description |
---|
PushConstants() |
public static final int WEBSOCKET_BUFFER_SIZE
Should not be set to a value equal to or greater than 32768 due to a Jetty 9.1 issue (see #13087)
public static final int WEBSOCKET_FRAGMENT_SIZE
WEBSOCKET_BUFFER_SIZE
given a UTF-8 encoded
message.public static final char MESSAGE_DELIMITER
Copyright © 2025. All rights reserved.