- 19 11月, 2019 3 次提交
-
-
由 Sam Brannen 提交于
Spring Framework 5.2 introduced support for implementing the Ordered interface in a @ControllerAdvice bean. This support requires that @ControllerAdvice beans be eagerly resolved from the BeanFactory in order to invoke the getOrder() method defined in the Ordered interface. Unfortunately doing so resulted in a regression in that an attempt to eagerly resolve a scoped @ControllerAdvice bean throws a BeanCreationException due to the lack of an active scope (e.g., request or session scope). This commit fixes this regression by avoiding eager resolution of scoped @ControllerAdvice beans. As a direct consequence, the Ordered interface is not supported for scoped @ControllerAdvice beans. Closes gh-23985
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
Before this change an @MessageMapping could be matched to any RSocket interaction type, which is arguably too flexible, makes it difficult to reason what would happen in case of a significant mismatch of cardinality, e.g. request for Fire-And-Forget (1-to-0) mapped to a method that returns Flux, and could result in payloads being ignored, or not seen unintentionally. This commit checks @ConnectMapping method on startup and rejects them if they return any values (sync or async). It also refines each @MessageMapping to match only the RSocket interaction type it fits based on the input and output cardinality of the handler method. Subsequently if a request is not matched, we'll do a second search to identify partial matches (by route only) and raise a helpful error that explains which interaction type is actually supported. The reference docs has been updated to explain the options. Closes gh-23999
-
- 18 11月, 2019 1 次提交
-
-
由 Sam Brannen 提交于
-
- 17 11月, 2019 1 次提交
-
-
由 denisgalaybo 提交于
Closes gh-24008
-
- 15 11月, 2019 8 次提交
-
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
Closes gh-1885
-
由 Rossen Stoyanchev 提交于
See gh-1885
-
由 Mark Hobson 提交于
Issue: SPR-17040
-
由 Rossen Stoyanchev 提交于
Closes gh-23994
-
由 Juergen Hoeller 提交于
Closes gh-23996
-
- 14 11月, 2019 13 次提交
-
-
由 Sam Brannen 提交于
-
由 Sébastien Deleuze 提交于
This commit adds support for Continuation parameter that is now considered as an optional parameter since it is never provided by the user. It also simplifies and optimizes the implementation. Closes gh-23991
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Stephane Nicoll 提交于
* pr/23995: Polish CorsAbstractHandlerMappingTests Closes gh-23995
-
由 Johnny Lim 提交于
See gh-23995
-
由 Sam Brannen 提交于
See gh-23895
-
由 SchutzeHades 提交于
-
由 Sam Brannen 提交于
See gh-23895
-
由 monosoul 提交于
Prior to this commit, InstantFormatter was able to properly serialize an Instant that is far in the future (or in the past), but it could not properly deserialize it, because in such scenarios an ISO-formatted Instant starts with a +/- sign. This commit fixes this issue, while maintaining the previous contract, and also introduces tests for InstantFormatter. Closes gh-23895
-
由 Juergen Hoeller 提交于
Closes gh-22451
-
由 Sébastien Deleuze 提交于
Closes gh-23761
-
由 Juergen Hoeller 提交于
-
- 13 11月, 2019 14 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Closes gh-23934
-
由 Rossen Stoyanchev 提交于
...or skip if there are no values either. Closes gh-22372
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Closes gh-1956
-
由 Rossen Stoyanchev 提交于
See gh-1956
-
由 jerzykrlk 提交于
-
由 JohnGrib 提交于
Closes gh-23984 * https://github.com/spring-projects/spring-framework/blob/3a0f309e2c9fdbbf7fb2d348be861528177f8555/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java#L24 * https://github.com/spring-projects/spring-framework/blob/3a0f309e2c9fdbbf7fb2d348be861528177f8555/spring-web/src/main/java/org/springframework/http/codec/ClientCodecConfigurer.java#L88 * https://github.com/spring-projects/spring-framework/blob/ef14d76d3637abeb31edd8a22031c21f9445efef/spring-web/src/main/java/org/springframework/http/codec/ServerCodecConfigurer.java#L94 * https://github.com/spring-projects/spring-framework/blob/3a0f309e2c9fdbbf7fb2d348be861528177f8555/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/EventSourceTransportHandler.java#L33
-
由 YuDongYing 提交于
Prior to this commit, the schemaZip Gradle task failed to find Spring schema files on MS Windows due to path separators hard coded to forward slashes that are not compatible with the Windows operating system. Consequently, a full build failed on Windows since the distZip task was not able to locate the zipped schema archive that the schemaZip task failed to create. This commit fixes this by updating the schemaZip task to search for schema files using backslashes as well as forward slashes. Closes gh-23933
-
由 Sébastien Deleuze 提交于
Closes gh-23812
-
由 stsypanov 提交于
-
由 Juergen Hoeller 提交于
Closes gh-23977
-
由 Rossen Stoyanchev 提交于
Closes gh-23978
-
由 GungnirLaevatain 提交于
-