Juergen Hoeller
5515112f87
Polishing
8 years ago
Juergen Hoeller
75b323e6c2
Polishing
8 years ago
Juergen Hoeller
ae6d778c3e
Polishing
8 years ago
Juergen Hoeller
484addb4f8
Polishing
8 years ago
Sebastien Deleuze
874859493b
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
8 years ago
Rossen Stoyanchev
246a6db1ca
Selector header name is exposed for configuration
...
Issue: SPR-16732
8 years ago
Juergen Hoeller
9cc03fa8b0
Polishing
8 years ago
Juergen Hoeller
b8c92ce931
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16596
Issue: SPR-16488
(cherry picked from commit d4a8f76 )
8 years ago
Juergen Hoeller
1f12214b45
Polishing
8 years ago
Juergen Hoeller
8e68ac44d2
Polishing
8 years ago
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
8 years ago
Juergen Hoeller
caed04473e
Consistent HttpMethod identity comparisons
...
(cherry picked from commit 0de36d2 )
8 years ago
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
8 years ago
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
8 years ago
Juergen Hoeller
4be416e2ca
SubProtocolWebSocketHandler closes sessions outside of lifecycle monitor
...
Issue: SPR-16488
(cherry picked from commit 3c631f8 )
8 years ago
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
8 years ago
Juergen Hoeller
33d655a634
Consistent handling of InterruptedException (plus setSchedulerFactory)
...
Issue: SPR-16479
Issue: SPR-16439
(cherry picked from commit 39201ad )
8 years ago
Juergen Hoeller
05dec6d23e
Consistent use of @throws instead of @exception
...
(cherry picked from commit 5c813a3 )
8 years ago
Juergen Hoeller
a041769799
AbstractClientSockJsSession.close propagates IOException from disconnect
...
Issue: SPR-16415
(cherry picked from commit cf100d4 )
8 years ago
Juergen Hoeller
09cb7f4c31
Fine-tuned logging of WebSocket close exceptions
...
Issue: SPR-16409
(cherry picked from commit 8e2be91 )
8 years ago
sdeleuze
e935018b0c
Fix SockJs CorsConfiguration for forbidden origins
...
After this commit, AbstractSockJsService uses the configured allowed
origins when generating the CorsConfiguration instead of "*".
As a consequence, forbidden origin requests still result in a 403
response but now with no CORS headers in order to improve consistency
between the status code and the headers.
Issue: SPR-16304
8 years ago
Juergen Hoeller
640c8ff693
Polishing
8 years ago
Juergen Hoeller
f861f182fa
Reduce access on headers for STOMP messaging
...
Issue: SPR-16165
8 years ago
Juergen Hoeller
268ccb6b6b
SubProtocolWebSocketHandler provides protected decorateSession method
...
Issue: SPR-16089
8 years ago
Juergen Hoeller
5f167fd7f8
Polishing
8 years ago
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
8 years ago
Juergen Hoeller
18a3322d2f
Lenient tolerance of unknown HTTP status codes behind RestTemplate
...
Issue: SPR-15978
8 years ago
Rossen Stoyanchev
5f07434360
Improve check for "Broken pipe" error message
...
Issue: SPR-15802
9 years ago
Juergen Hoeller
c752ba5b38
Polishing
9 years ago
Rossen Stoyanchev
99236759ec
ExceptoinWebSocketHandlerDecorator uses ERROR level
...
Issue: SPR-15537
9 years ago
Juergen Hoeller
2d1b551248
Common root cause introspection algorithm in NestedExceptionUtils
...
Issue: SPR-15510
(cherry picked from commit 9d8e9cf )
9 years ago
Rossen Stoyanchev
d3324c8d4f
Trap exception from SockJS HeartbeatTask
...
Issue: SPR-15307
9 years ago
Juergen Hoeller
98dbc17591
Polishing
9 years ago
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
9 years ago
Juergen Hoeller
fcfacd9f83
Polishing
...
(cherry picked from commit f095aa2 )
9 years ago
Juergen Hoeller
bddcc669b3
WebSocketSession.getExtensions consistently exposes unmodifiable/empty list
...
Issue: SPR-15180
(cherry picked from commit e94fa3f )
9 years ago
Rossen Stoyanchev
75daf781c2
Well-known names for beans in message broker XML config
...
Issue: SPR-15068
9 years ago
Juergen Hoeller
709d4ba6e7
Avoid explicit DecoratedObjectFactory setup in JettyRequestUpgradeStrategy
...
Issue: SPR-14940
9 years ago
Juergen Hoeller
9cb4de8b5e
Polishing
9 years ago
Juergen Hoeller
54c7a9ee95
Revised Jetty 9.3 vs 9.4 differentiation
...
Issue: SPR-14940
(cherry picked from commit 52799c0 )
9 years ago
Rossen Stoyanchev
e16d753439
Allow athentication at the STOMP level
...
This commit makes it possible for a ChannelInterceptor to override the
user header in a Spring Message that contains a STOMP CONNECT frame.
After the message is sent, the updated user header is observed and
saved to be associated with session thereafter.
Issue: SPR-14690
9 years ago
Brian Clozel
35b0c8b577
Update websocket support for Jetty 9.3+
...
Due to a few changes in `WebSocketServerFactory` and `Session` API, our
`JettyRequestUpgradeStrategy` and `JettyWebSocketSession` needed to
adapt. As of 9.3.15+ and 9.4.0+, some reflection is required to support
previous versions.
Spring 4.3 websocket officially supports Jetty 9.1 to 9.3.
Issue: SPR-14940
9 years ago
Brian Clozel
75034c3710
Revert "Update websocket support for Jetty 9.3+"
...
This reverts commit 305cea28c5 .
9 years ago
Brian Clozel
305cea28c5
Update websocket support for Jetty 9.3+
...
Due to a few changes in `WebSocketServerFactory` and `Session` API, our
`JettyRequestUpgradeStrategy` and `JettyWebSocketSession` needed to
adapt. As of 9.3.15+ and 9.4.0+, some reflection is required to support
previous versions.
Spring 4.3 officially supports Jetty 9.1 to 9.3.
Issue: SPR-14940
9 years ago
Rossen Stoyanchev
69ba85b051
Backport of STOMP message header encoding improvements
...
Issue: SPR-14901
9 years ago
Juergen Hoeller
5fee5f39ea
Polishing
9 years ago
Christoph Dreis
8de100b116
Implement allocation-friendly method to get user count in SimpUserRegistry
...
SPR-14930
(cherry picked from commit a929e9c )
9 years ago
Juergen Hoeller
ac30bcb0eb
WebSocketServerSockJsSession uses dedicated disconnect lock
...
Issue: SPR-14917
(cherry picked from commit a49809b )
9 years ago
Rossen Stoyanchev
8f19650fd7
Avoid locking in WebSocket session "close" callback
...
When processing a "close" notification from the server make an effort
to cancel any outstanding heartbeat but avoid going as far as acquiring
the responseLock since the server itself may already hold a lock of its
own leading to a potential deadlock.
The heartbeat task is now also further protected with an isClosed()
check in case the heartbeat does not get cancelled in a concurrent
scenario.
Issue: SPR-14917
9 years ago
Juergen Hoeller
05547979de
Polishing
...
Issue: SPR-14867
(cherry picked from commit a90e4b2 )
9 years ago