Annotation Type WebSocket
Tags a POJO as being a WebSocket class.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe output frame buffering mode.int
The time in ms (milliseconds) that a websocket may be idle before closing.int
The size of the buffer (in bytes) used to read from the network layer.int
The maximum size of a binary message (in bytes) during parsing/generating.int
The maximum size of a text message during parsing/generating.
-
Element Details
-
inputBufferSize
int inputBufferSizeThe size of the buffer (in bytes) used to read from the network layer.- Default:
- -1
-
maxBinaryMessageSize
int maxBinaryMessageSizeThe maximum size of a binary message (in bytes) during parsing/generating.Binary messages over this maximum will result in a close code 1009
StatusCode.MESSAGE_TOO_LARGE
- Default:
- -1
-
idleTimeout
int idleTimeoutThe time in ms (milliseconds) that a websocket may be idle before closing.- Default:
- -1
-
maxTextMessageSize
int maxTextMessageSizeThe maximum size of a text message during parsing/generating.Text messages over this maximum will result in a close code 1009
StatusCode.MESSAGE_TOO_LARGE
- Default:
- -1
-
batchMode
BatchMode batchModeThe output frame buffering mode.Default:
BatchMode.AUTO
- Default:
- AUTO
-