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
Rossen Stoyanchev
526d89e1e6
Refine Throwable handling in spring-websocket
...
This commit lowers the level of Throwable handling in parts of
spring-websocket which now handle Exception instead and allow any Error
to propagate.
Closes gh-24075
5 years ago
Rossen Stoyanchev
905e3c1f9f
Avoid indefinite wait in JettyWebSocketClient
...
Closes gh-23994
5 years ago
Juergen Hoeller
32532a88c1
Polishing
5 years ago
JohnGrib
8bb165e55c
Fix typo in EventSourceTransportHandler
...
Closes gh-23984
* 3a0f309e2c/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java (L24)
* 3a0f309e2c/spring-web/src/main/java/org/springframework/http/codec/ClientCodecConfigurer.java (L88)
* ef14d76d36/spring-web/src/main/java/org/springframework/http/codec/ServerCodecConfigurer.java (L94)
* 3a0f309e2c/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/EventSourceTransportHandler.java (L33)
5 years ago
Sam Brannen
1a13700f8b
Polish contribution
...
See gh-23923
5 years ago
stsypanov
9da15ee23a
Improve usage of String.substring()
...
Closes gh-23923
5 years ago
Sam Brannen
9f00eb68e9
Clean up warnings
5 years ago
Christoph Dreis
3c17178b16
Fix Mockito deprecations
5 years ago
Rossen Stoyanchev
3895d21b7d
Fix failing test after previous commit
...
See gh-23793
5 years ago
Rossen Stoyanchev
03ac8e6b42
Logging decorator for WebSocketStompClient handler
...
Closes gh-23793
5 years ago
Rossen Stoyanchev
7f8966774e
Upgrade Jetty to 9.4.21
...
Make use of the new getAvailableExtensionNames() method.
Closes gh-23799
5 years ago
Rossen Stoyanchev
b343e733df
Upgrade Jetty to 9.4.21
...
Make use of the new getAvailableExtensionNames() method.
Closes gh-23565
5 years ago
Juergen Hoeller
2861fc65bd
Polishing
5 years ago
Rossen Stoyanchev
e9dc5160b9
Use correct log level
...
See gh-23534
5 years ago
Rossen Stoyanchev
99d9dacc4f
Log sendBufferSizeLimit exceeded at warn
...
Closes gh-23534
5 years ago
Andy Wilkinson
20e6ca3601
Fix race condition in sendBlockingMessage
...
Previously, tests in ConcurrentWebSocketSessionDecoratorTests that use
the BlockingSession would fail intermittently. This appears to have
been due to a race condition in sendBlockingMessage where the call
to getSentMessageLatch() that stores a latch in nextMessageLatch on
the main thread may happen after the call to sendMessage that counts
down the latch if it is non-null occurs on the executor's thread.
This commit updates sendBlockingMessage to call getSentMessageLatch()
(and therefore store the latch) before it sumbmits the task to the
executor. This ensures that the latch will be available when the
exeuctor's thread attempts to retrieve and decrement it.
BlockingSession's AtomicReference fields have also been made final to
eliminate the possibility of any visibility problems across threads.
Closes gh-23642
5 years ago
Phillip Webb
d945ae9191
Add blank line between java and javax imports
...
See gh-23539
Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
5 years ago
Stephane Nicoll
facdbdb7b6
Fix checkstyle violation
5 years ago