WebSocketPolicy.setMaxTextMessageBufferSize

The maximum size of a text message buffer. <p> Used ONLY for stream based text message writing.

@param size the maximum size of the text message buffer

class WebSocketPolicy
void
setMaxTextMessageBufferSize
(
int size
)

Meta