WebSocketTransportRegistration function ( int arg0 ) { this . messageSizeLimit = arg0 ; return this ; }
configure the maximum size for an incoming sub-protocol message . for example a stomp message may be received as multiple websocket messages or multiple http post requests when sockjs fallback options are in use . in theory a websocket message can be almost unlimited in size . in practice websocket servers impose limits on incoming message size . stomp clients for example tend to split large messages around 16k boundaries . therefore a server must be able to buffer partial content and decode when enough data is received . use this property to configure the max size of the buffer to use . the default value is 64k i.e. 64 1024 . note that the current version 1.2 of the stomp spec does not specifically discuss how to send stomp messages over websocket . version 2 of the spec will but in the mean time existing client libraries have already established a practice that servers must handle . concode_field_sep Integer sendBufferSizeLimit concode_elem_sep Integer messageSizeLimit concode_elem_sep List<WebSocketHandlerDecoratorFactory> decoratorFactories concode_elem_sep Integer sendTimeLimit concode_field_sep WebSocketTransportRegistration setDecoratorFactories concode_elem_sep Integer getMessageSizeLimit concode_elem_sep Integer getSendTimeLimit concode_elem_sep List<WebSocketHandlerDecoratorFactory> getDecoratorFactories concode_elem_sep WebSocketTransportRegistration setSendTimeLimit concode_elem_sep Integer getSendBufferSizeLimit concode_elem_sep WebSocketTransportRegistration addDecoratorFactory concode_elem_sep WebSocketTransportRegistration setSendBufferSizeLimit