List of usage examples for org.springframework.web.socket.handler WebSocketSessionDecorator subclass-usage
From source file org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.java
/**
* Wrap a {@link org.springframework.web.socket.WebSocketSession WebSocketSession}
* to guarantee only one thread can send messages at a time.
*
* <p>If a send is slow, subsequent attempts to send more messages from other threads
* will not be able to acquire the flush lock and messages will be buffered instead.