Rossen Stoyanchev
935577f00b
Replace WebSocketHandlerAdapterSupport with delegation
...
This commit removes the base class WebSocketHandlerAdapterSupport which
was mainly a container for properties. Instead we use a
java.util.Function to create the WebSocketSession which differs in any
way by client and server, which in turn allows HandshakeInfo to become
a simple immutable container once again.
Also for Undertow the WebSocketConnectionCallback implementation has
been moved into the server.upgrade package since it is for server-side
use only.
Issue: SPR-14527
9 years ago
Violeta Georgieva
d49ab90187
Jetty/Standard/UndertowWebSocketClient headers test
9 years ago
Violeta Georgieva
b4b7b163d1
Add WebSocketClient for Undertow
...
Issue: SPR-14527
9 years ago
Violeta Georgieva
30ee71ea1a
Add WebSocketClient for Java WebSocket (JSR-356)
...
Issue: SPR-14527
9 years ago
Violeta Georgieva
bd09a76a1e
Add WebSocketClient for Jetty
...
Issue: SPR-14527
9 years ago
Violeta Georgieva
113d1b6970
Polishing
9 years ago
Juergen Hoeller
ef5c797569
Polishing
9 years ago
Juergen Hoeller
3295a4e6ef
ConfigurationClassParser enforces @Bean declaration order through ASM metadata
...
Issue: SPR-14505
9 years ago
Juergen Hoeller
8147c112f5
LinkedCaseInsensitiveMap delegates to LinkedHashMap instead of extending it
...
Issue: SPR-15026
9 years ago
Juergen Hoeller
d3f97e3092
ObjectProvider offers getIfAvailable/getIfUnique variants with default supplier
...
Issue: SPR-14980
9 years ago
Juergen Hoeller
54b8aab1c6
Kotlin plugin conditionally deactivated on JDK 9
9 years ago
Sebastien Deleuze
fbf88d19da
Allow to specify hints with the functional web API
...
The most common use case is specifying JSON views.
ServerResponse.BodyBuilder#hint(String, Object) allows to
specify response body serialization hints.
ServerRequest#body(BodyExtractor, Map) allows to specify
request body extraction hints.
Issue: SPR-15030
9 years ago
Juergen Hoeller
f51fe5fd39
Polishing
9 years ago
Juergen Hoeller
e788b8467d
GenericApplicationContext offers Supplier-based registration with BeanDefinitionCustomizer callback
...
Issue: SPR-14832
9 years ago
Rossen Stoyanchev
a86f89daa8
Update repositories
9 years ago
Rossen Stoyanchev
3d1b6fd362
Add WebSocket integration test
9 years ago
Stephane Maldini
dc9f338add
Update to reactor core 3.0.4 and netty 0.6 RELEASE (from repo.spring.io/release)
9 years ago
Juergen Hoeller
5c48daa8eb
Remove unused Log object from MessageHeaderAccessor
...
Issue: SPR-15045
9 years ago
Juergen Hoeller
2819f7c781
Polishing
9 years ago
Juergen Hoeller
ae62341fa3
Avoid deprecated Scheduler.shutdown() in favor of Scheduler.dispose()
9 years ago
Rossen Stoyanchev
3719f75d3b
Minor refactoring + polish
...
- RxNettyWebSocketSession filters out WebSocketCloseFrame again
- add before/afterHandshake helper methods in WebSocketClientSupport
- log request headers on server and response headers on client
- polish 400 request handling in HandshakeWebSocketService
9 years ago
Juergen Hoeller
d64d9ab370
Consistent ClassLoader propagation and ConcurrentHashMap setup for AspectJ pointcuts
...
Issue: SPR-15040
9 years ago
Rossen Stoyanchev
0d0d461903
Use WebSocketFrameAggregator for Reactor and RxNetty
...
WebSocket frames are now aggregated through a Netty decoder so that
we always receive fully assembled messages by default capped at 64K.
Issue: SPR-14527
9 years ago
Rossen Stoyanchev
00387c3bbd
Re-enable Reactor WebSocket integration tests
9 years ago
Brian Clozel
54901ab865
Avoid explicit DecoratedObjectFactory setup in JettyRequestUpgradeStrategy
...
Align Jetty support on spring-websocket module.
Issue: SPR-14940
9 years ago
Sebastien Deleuze
7b183048b8
Introduce SSE support in WebClient
...
Issue: SPR-14539
9 years ago
Sebastien Deleuze
69b69442bc
Add ServerSentEventHttpMessageReader
...
This HTTP message reader parse incoming Server-Sent
Events and turn them into Flux<String>, Flux<Pojo>
or Flux<ServerSentEvent>.
Issue: SPR-14539
9 years ago
Sebastien Deleuze
183b326f6d
Add ServerSentEvent#toString()
9 years ago
Sebastien Deleuze
419d2b4e0a
Polish ServerSentEventHttpMessageWriterTests
9 years ago
Sebastien Deleuze
a8d8273dc1
Fix a typo in ServerSentEventHttpMessageWriter Javadoc
9 years ago
Juergen Hoeller
b54aee27be
Polishing
9 years ago
Juergen Hoeller
598122fe8a
Avoid package cycle between http.server and web.util
9 years ago
Juergen Hoeller
98d306f558
Upgrade to RxJava 2.0.3 and XMLUnit 2.3
9 years ago
Juergen Hoeller
4125825cf3
Upgrade to Hibernate ORM 5.2.6
9 years ago
Juergen Hoeller
483abfe266
Avoid explicit DecoratedObjectFactory setup in JettyRequestUpgradeStrategy
...
Issue: SPR-14940
(cherry picked from commit 709d4ba )
9 years ago
Sebastien Deleuze
e07d110a67
Update to reactor-core 3.0.4.BUILD-SNAPSHOT
9 years ago
Stephane Maldini
804935a8eb
try less log and increase timeout
9 years ago
Sebastien Deleuze
a1ae9ac1bd
Add ServerHttpRequest.Builder#header(String, String)
...
This method allows to set or override easily a specific header value.
9 years ago
Sebastien Deleuze
712a63205c
Add HttpHeaders#setAcceptLanguageAsLocale(Locale)
...
Issue: SPR-15024
9 years ago
Juergen Hoeller
82c1c859d9
Polishing
...
(cherry picked from commit 9cb4de8 )
9 years ago
Juergen Hoeller
154ef8bf10
Polishing
9 years ago
Juergen Hoeller
9005481a49
Supplier registration support for annotated bean classes
...
Issue: SPR-14832
9 years ago
Rossen Stoyanchev
3b987c263c
Sub-protocol negotiation for reactive WebSocket support
...
Issue: SPR-14527
9 years ago
Stephane Maldini
241d5f7a3b
Sync reactor-netty client response update and uncomment in tests
9 years ago
Juergen Hoeller
97ea22cb4a
Defensively catch any exception from match attempts (for compatibility with AspectJ 1.8.10)
...
Issue: SPR-15019
9 years ago
Juergen Hoeller
f6b2a21206
ConfigurationClassPostProcessor programmatically registers unified ImportAwareBeanPostProcessor
...
Issue: SPR-14931
9 years ago
Rossen Stoyanchev
30df137273
HandshakeWebSocketService detects upgrade strategies
...
Issue: SPR-14527
9 years ago
Rossen Stoyanchev
47e141675f
Minor refactoring + polish reactive WebSocket support
...
Rename classes not specific to Tomcat:
TomcatWebSocketSession -> StandardWebSocketSession
TomcatWebSocketHandlerAdapter -> StandardWebSocketHandlerAdapter
WebSocketSessionSupport is renamed to AbstractWebSocketSession since it
actually is a WebSocketSession and pre-implements a number of methods.
ServerEndpointRegistration is now package private (mainly for use in
upgrade strategies) and renamed to DefaultServerEndpointConfig.
9 years ago
Rossen Stoyanchev
5fd600d2ad
Fix failing test
9 years ago
Rossen Stoyanchev
1243556047
Add Reactor Netty WebSocketClient support
...
Issue: SPR-14527
9 years ago