Rossen Stoyanchev
3eb2c5e22f
Use static accessors in DefaultSimpUserRegistry
...
Closes gh-26010
4 years ago
Sam Brannen
449377908f
Fix JUnit 4 to AssertJ migration bugs
...
The migration from JUnit 4 assertions to AssertJ assertions resulted in
several unnecessary casts from int to long that actually cause
assertions to pass when they should otherwise fail.
This commit fixes all such bugs for the pattern `.isNotEqualTo((long)`.
4 years ago
jacopo-salamina
dff9924a0c
WebSocketTransportRegistration: javadoc typo
...
The documentation written for the method WebSocketTransportRegistration.setSendTimeLimit(int timeLimit) mentions that, if no time limit is specified, a default value of 10 seconds is used; however, later on the exact default value employed is incorrectly typed as 10 * 10000 ms, which would result in 100 seconds instead.
The javadoc has been updated in order to show the correct value in milliseconds (10 * 1000).
4 years ago
Rossen Stoyanchev
bfb2ce6e2a
SimpUser exposes Principal
...
Closes gh-25191
4 years ago
Сергей Цыпанов
8a04910bdd
Drop explicit zeroing at instantiation of Atomic* objects
4 years ago
Brian Clozel
e02d3f32b4
Requalify tests as LONG_RUNNING
...
Prior to this commit, some tests would belong to the PERFORMANCE
`TestGroup`, while they were not testing for performance but rather
performing functional tests that involve long running operations or
timeouts.
This commit moves those tests to the LONG_RUNNING `TestGroup`.
See gh-24830
4 years ago
Juergen Hoeller
214bc407b4
Provide Gson/JSON-B MessageConverter for spring-messaging (aligned with spring-web)
...
Closes gh-21496
4 years ago
Rossen Stoyanchev
d616c6632d
Remove session on 4xx response from WebSocket handshake
...
Closes gh-25608
4 years ago
Rossen Stoyanchev
a8d953afa4
CloseStatus implements Serializable
...
Closes gh-25507
4 years ago
Rossen Stoyanchev
bb941b6180
OrderedMessageChannelDecorator doesn't preclude send limits
...
Closes gh-25581
4 years ago
Juergen Hoeller
ff11467a0c
Avoid resizing of fixed-size HashMap/LinkedHashMap variants
...
Closes gh-25349
4 years ago
Brian Clozel
9aae5ed3fa
Update Reactor Netty modules
...
Since reactor/reactor-netty#739 , the `reactor-netty` module is now split
into two: `reactor-netty-core` and `reactor-netty-http`.
This commit updates the Spring Framework build accordingly.
4 years ago
Sam Brannen
335c3d5db6
Polish contribution
...
See gh-25445
4 years ago
XenoAmess
ab859fcc96
Refine use of substring operations
...
Closes gh-25445
4 years ago
Sam Brannen
a8901e3cf8
Polish contribution
...
See gh-25445
4 years ago
XenoAmess
edfc6c0293
Refine use of substring operations
...
Closes gh-25445
4 years ago
Sam Brannen
ae5913f3b6
Polish tests
...
See gh-25456
4 years ago
XenoAmess
cd12583e13
Use Integer.parseInt instead of Integer.valueOf for primitive int
...
Closes gh-25456
4 years ago
Sam Brannen
24f9b1d966
Delete unused import
4 years ago
XenoAmess
e4a139e70e
Use System.currentTimeMillis() in AbstractSockJsService
...
Closes gh-25447
4 years ago
XenoAmess
3b12beb1b8
Simplify if-statements with instanceof checks
...
Closes gh-25449
4 years ago
Juergen Hoeller
64f4703445
Defer creating logger in StandardWebSocketHandlerAdapter to instantiation time
...
Closes gh-25427
4 years ago
Sam Brannen
9d5881e0ad
Suppress warnings, remove unused code, etc.
4 years ago
Сергей Цыпанов
7949937655
Remove redundant assignment of default values to volatile fields
4 years ago
Sam Brannen
8099fc8178
Use try-with-resources language construct where feasible
...
Closes gh-2063
Co-authored-by: igor-suhorukov <igor.suhorukov@gmail.com>
4 years ago
Juergen Hoeller
9cd9a8e86b
Extend readOnlyWebSocketHttpHeaders deprecation to 5.1.16
5 years ago
Rossen Stoyanchev
706446a660
Deprecate unused method
5 years ago
Rossen Stoyanchev
6659e96104
Fix failing test
...
See gh-24986
5 years ago
Rossen Stoyanchev
e17736dd0a
Error handling improvement in AbstractSockJsSession
...
Closes gh-24986
5 years ago
Rossen Stoyanchev
f425a993e7
Ignore missing STOMP decoder if session closed
...
Closes gh-24842
5 years ago
Sam Brannen
e26764d249
Remove duplicate words in documentation and polish Javadoc
5 years ago
Sam Brannen
9e30620ac2
Polish contribution
...
See gh-24805
5 years ago
Сергей Цыпанов
e63d1cf12d
Improve usage of ByteArrayOutputStream/ByteArrayInputStream
...
Closes gh-24805
5 years ago
Sam Brannen
6222efc54b
Polish contribution
...
See gh-24785
5 years ago
Сергей Цыпанов
65aa2d03f0
Simplify conversion of ByteArrayOutputStream to String
...
Closes gh-24785
5 years ago
Qimiao Chen
1f9fa3bab8
Remove useless .gitignore files
...
Closes gh-24790
5 years ago
Juergen Hoeller
fd1ca46ca1
Thread-safe access to WebSocketServerFactory and WebSocketExtensions
...
See gh-24745
5 years ago
陈其苗
0e5f27c94e
Introduce NonNull to package-info
5 years ago
陈其苗
45a629e20a
Remove unnecessary check in ConvertingEncoderDecoderSupport
5 years ago
Rossen Stoyanchev
fa6ccc066d
Do not raise exception for undelivered empty messages
...
Closes gh-23828
5 years ago
Rossen Stoyanchev
1a8caf9e2b
Polishing and minor refactoring
...
See gh-23828
5 years ago
Rossen Stoyanchev
f5df422de9
Polishing contribution
...
See gh-24470
5 years ago
Hyunjin Choi
273812f9c5
Remove unnecessary escapes in regular expressions
...
See gh-24470
5 years ago
Sam Brannen
7b6d83a106
Use Gradle test fixture support for spring-web
...
See gh-23550
5 years ago
Sam Brannen
94f8ef08e2
Move common TestPrincipal to spring-core test fixtures
...
See gh-23550
5 years ago
Sam Brannen
4260c34b47
Rename test fixture package in spring-core
...
See gh-23550
5 years ago
Sam Brannen
5718bf424b
Use Gradle test fixture support for spring-core
...
See gh-23550
5 years ago
Rossen Stoyanchev
25f3465f1f
Polishing contribution
...
See gh-24087
5 years ago
Parviz ROzikov
e858b21c60
#24022 - added protobuf MessageConverter
5 years ago
Rossen Stoyanchev
f57f337104
Protected method to decorate WebSocketHandler
...
See gh-24075
5 years ago