Rossen Stoyanchev
fbf25c536d
ChannelInterceptor default methods + deprecate adapter
7 years ago
Rossen Stoyanchev
592dc628d5
Use specific XSD types in spring-websocket.xsd
...
Issue: SPR-16531
7 years ago
Rossen Stoyanchev
37b0ed9fcb
Improve TCP connection info logging.
...
After the recent changes to expose configuring TcpOperations, it no
longer makes sense to automatically log the relayHost/Port since that's
mutually exclusive with a custom TcpOperations.
Instead we delegate to TcpOperations.toString().
Issue: SPR-16801
7 years ago
Rossen Stoyanchev
020c6c0102
Polish: remove Javadoc tags from spring-websocket.xsd
7 years ago
Rossen Stoyanchev
29158aa79a
Expose timeToFirstMessage in Java/XML config
...
Issue: SPR-16531
7 years ago
Juergen Hoeller
53aa9cc4cd
Upgrade to Servlet API 4.0.1 (aligned with Tomcat 9 and Undertow 2)
...
Issue: SPR-16470
7 years ago
Johnny Lim
fb898e1727
Remove inconsistent spaces
7 years ago
Rossen Stoyanchev
0e776d4e77
Add more detail to ISE in ServerEndpointExporter
...
Issue: SPR-16655
7 years ago
Rossen Stoyanchev
ff2228fdaf
Selector header name is exposed for configuration
...
Issue: SPR-16732
7 years ago
igor-suhorukov
4aae6a6dda
Use Map.forEach instead of manual Map.Entry iteration wherever possible SPR-16646
7 years ago
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
7 years ago
Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
7 years ago
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
7 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
7 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
7 years ago
Juergen Hoeller
cec7204fca
Polishing
7 years ago
igor-suhorukov
ed936cbd89
Polish: Overriding methods should do more than simply call the same method in the super class
7 years ago
Juergen Hoeller
bfddbbe731
Polishing
7 years ago
igor-suhorukov
8080f56db8
Polish: "@Override" should be used on overriding and implementing methods
7 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
7 years ago
Juergen Hoeller
0de36d2883
Consistent HttpMethod identity comparisons
7 years ago
Alexander Münch
37f19a4b43
Polish Javadoc
...
WebSocketMessageBrokerStats's Javadoc now states the correct default
logging period.
Closes gh-1691
7 years ago
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40
)
7 years ago
Juergen Hoeller
b35274f5a7
WebSocket callbacks need to remain inner classes (retaining generics)
7 years ago
igor-suhorukov
2be4985b8f
Polish: anonymous inner classes containing only one method should become lambdas,
...
use getOrDefault instead of ternary operator
7 years ago
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
7 years ago
Juergen Hoeller
3c631f8ea0
SubProtocolWebSocketHandler closes sessions outside of lifecycle monitor
...
Issue: SPR-16488
7 years ago
Juergen Hoeller
d00e1c5e4f
Polishing
7 years ago
Juergen Hoeller
39201adca4
Consistent handling of InterruptedException
...
Issue: SPR-16479
7 years ago
igor-suhorukov
d3a1d44864
Polish: Maps with keys that are enum values should be replaced with EnumMap
7 years ago
igor-suhorukov
9a6fbf59c5
Polish: follow name convention - make immutable fields final
7 years ago
Juergen Hoeller
5c813a366b
Consistent use of @throws instead of @exception
7 years ago
Juergen Hoeller
cf100d4d03
AbstractClientSockJsSession.close propagates IOException from disconnect
...
Issue: SPR-16415
7 years ago
Juergen Hoeller
8e2be91353
Fine-tuned logging of WebSocket close exceptions
...
Issue: SPR-16409
7 years ago
Juergen Hoeller
0e6f8df0a8
ServletServerHttpRequest.getURI() ignores malformed query string
...
The resolved URI instance is also being cached now. This should not make a difference in a real Servlet environment but does affect tests which assumed they could modify an HttpServletRequest path behind a pre-created ServletServerHttpRequest instance. Our WebSocket test base class has been revised accordingly, re-creating the ServletServerHttpRequest in such a case.
Issue: SPR-16414
7 years ago
sdeleuze
43d3abdfd5
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
7 years ago
Rossen Stoyanchev
61352fe85b
Fix compile error
7 years ago
Rossen Stoyanchev
dd09c08cdf
Replace use of AbstractWebSocketMessageBrokerConfigurer
7 years ago
Sergey
d6591a6329
Default methods in WebSocketMessageBrokerConfigurer
...
+ deprecate AbstractWebSocketMessageBrokerConfigurer
7 years ago
Juergen Hoeller
7406f5993a
Polishing
7 years ago
Juergen Hoeller
b5cedd43eb
Consistent and efficient access to BeanDefinition argument values
...
Issue: SPR-16192
7 years ago
Christoph Dreis
9fab208fdd
Reduce access on headers for STOMP messaging
...
Issue: SPR-16165
7 years ago
Juergen Hoeller
5809f5b8eb
SubProtocolWebSocketHandler provides protected decorateSession method
...
Issue: SPR-16089
7 years ago
Rossen Stoyanchev
1cc5afe24b
Fix lines over 120 characters
...
https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
7 years ago
Juergen Hoeller
a4537b1b6d
Accessors for configured send-time and buffer-size limit
...
Issue: SPR-16089
7 years ago
Juergen Hoeller
16a08cb465
Upgrade to Jackson 2.9.2
7 years ago
Juergen Hoeller
efce7902c4
Polishing
7 years ago
Juergen Hoeller
9190b76ab9
Latest dependency updates (POI 3.17, Rome 1.8, EhCache 3.4, Caffeine 2.5.6, RxJava 2.1.4, Tomcat 8.5.21, JRuby 9.1.13, Rhino 1.7.7.2)
7 years ago
Juergen Hoeller
7ae59d0c2a
Nullability refinements on private and static methods
...
Based on IntelliJ IDEA 2017.3 introspection results.
Issue: SPR-15756
7 years ago
Juergen Hoeller
4cbef27f90
Consistent tolerance of unknown HTTP status codes behind RestTemplate
...
Issue: SPR-15978
7 years ago