webSocketMaxTextMessageSize property

int webSocketMaxTextMessageSize
final

The largest text message a WebSocket session accepts, in bytes; 8 KB by default (Tomcat's default in Spring), -1 for no limit. A larger message is not read: the session is closed with 1009 (message too big). This starter's own key; Spring sets it on the container (ServletServerContainerFactoryBean).

Implementation

final int webSocketMaxTextMessageSize;