- 31 5月, 2014 1 次提交
-
-
由 Artem Bilan 提交于
This change ensures that StompSubProtocolHandler is injected with an ApplicationEventPublisher for both the Java and XML config. Issue: SPR-11825
-
- 22 4月, 2014 1 次提交
-
-
由 Philippe Marschall 提交于
spring-websocket is full of unused imports. This commit removes all unused imports from spring-websocket.
-
- 28 3月, 2014 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Proactively notify all active WebSocket sessions when a shutdown is progress. Sessions then can ignore further attempts to send messages and also stop stop trying to flush messages right away.
-
- 25 3月, 2014 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11578
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11527
-
- 23 3月, 2014 2 次提交
-
-
由 Rossen Stoyanchev 提交于
When a send timeout is detected, the WebSocket session is now closed with a custom close status that indicates so. This allows skipping parts of the close logic that may cause further hanging. Issue: SPR-11450
-
由 Rossen Stoyanchev 提交于
Before this change the decorator ensured that for a specific WebSocket session only one thread at a time can send a message. Other threads attempting to send would have their messages buffered and each time that occurs, a check is also made to see if the buffer limit has been reached or the send time limit has been exceeded and if so the session is closed. This change adds further protection to ensure only one thread at a time can perform the session limit checks and attempt to close the session. Furthermore if the session has timed out and become unresponsive, attempts to close it may block yet another thread. Taking this into consideration this change also ensures that state associated with the session is cleaned first before an attempt is made to close the session. Issue: SPR-11450
-
- 21 3月, 2014 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11586
-
- 11 3月, 2014 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11531
-
- 04 12月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Consistent ".jetty" and ".standard" subpackages; consolidated GlassFishRequestUpgradeStrategy implementation; renamed Text/BinaryWebSocketHandler and moved them to web.socket.support
-
- 03 12月, 2013 1 次提交
-
-
由 Brian Clozel 提交于
This commit adds an XML namespace equivalent of @EnableWebSocket and @EnableWebSocketMessageBroker. Those are <websocket:handlers> and <websocket:message-broker> respectively. Examples can be found in the test suite. This commit also alters the way MessageHandler's subscribe to their respective MessageChannel's of interest. Rather than performing the subscriptions in configuration code, the message channels are now passed into MessageHandler's so they can subscribe themselves on startup. Issue: SPR-11063
-
- 27 11月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Apply consistent styling to new classes introduced in Spring 4.0. - Javadoc line wrapping, whitespace and formatting - General code whitespace - Consistent Assert.notNull messages
-
- 26 11月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
The addition of SubProtocolCapable simplifies configuration since it is no longer necessary to explicitly configure DefaultHandshakeHandler with a list of supported sub-protocols. We will not also check if the WebSocketHandler to use for the WebSocket request is an instance of SubProtocolCapable and obtain the list of sub-protocols that way. The provided SubProtocolWebSocketHandler does implement this interface. Issue: SPR-11111
-
- 24 11月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Before this change spring-messaging contained a few WebSocket-related classes including WebSocket sub-protocol support for STOMP as well as @EnableWebSocketMessageBroker and related configuration classes. After this change those classes are located in the spring-websocket module under org.springframework.web.socket.messaging. This means the following classes in application configuration must have their packages updated: org.springframework.web.socket.messaging.config.EnableWebSocketMessageBroker org.springframework.web.socket.messaging.config.StompEndpointRegistry org.springframework.web.socket.messaging.config.WebSocketMessageBrokerConfigurer MessageBrokerConfigurer has been renamed to MessageBrokerRegistry and is also located in the above package.
-
- 29 8月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10835
-
- 28 8月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10835
-
- 14 8月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Update methods available on WebSocketSession interface. Introduce DelegatingWebSocketSession interface.
-
- 02 8月, 2013 1 次提交
-
-
由 Andy Wilkinson 提交于
Add SubProtocolHandler to encapsulate the logic for using a sub-protocol. A SubProtocolWebSocketHandler is also provided to delegate to the appropriate SubProtocolHandler based on the negotiated sub-protocol value at handshake. StompSubProtocolHandler provides handling for STOMP messages. Issue: SPR-10786
-