- 21 6月, 2019 5 次提交
-
-
由 Arjen Poutsma 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Create annotation.support sub-package and move handler code there. This prepares for a future, functional handler (responder) variant and is consistent with the package structure under simp.
-
由 Brian Clozel 提交于
Prior to this commit, `PathPattern::extractPathWithinMapping` would always use the default path pattern separator `/` when extracting the path within the pattern of a matched route. This commit ensures that `PathPattern` uses the configured separator when extracting the path within the matched mapping. Fixes gh-23168
-
由 Brian Clozel 提交于
Prior to this commit, the `PathPatternRouteMatcher` would always use the default path pattern separator when parsing incoming route strings to `RouteMatcher.Route` instances. When the `PathPatternRouteMatcher` is configured with a `PathPatternParser` that has a custom separator (e.g., `.`), then the matching algorithm can't match routes against parsed patterns. This commit ensures that the route matcher uses the configured separator at all times. Fixes gh-23167
-
- 20 6月, 2019 14 次提交
-
-
由 Sam Brannen 提交于
-
由 Sebastien Deleuze 提交于
-
由 Rossen Stoyanchev 提交于
1. Consolidate config options for handler detection in the base class AbstractMethodMessageHandler with sub-classes like RSocketMessageHandler now only setting the handler predicate by default (e.g. @Controller). 2. Remove autoDetection flag in favor of just having the mutually exclusive handler Predicate<Object> vs manually registered List<Object>. Or if both are desired for some reason, then manually register first, and set the predicate second.
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Replace the Publisher argument in RequestSpec's data(Publisher, Class<T>) and data(Publisher, ParameterizedTypeReference<T>) methods with Object thus allowing any reactive type known to the ReactiveAdapterRegistry to be passed in directly rather than adapted to Publisher first.
-
由 Sam Brannen 提交于
See gh-23076
-
由 Sam Brannen 提交于
See gh-23159
-
由 Sebastien Deleuze 提交于
As of 1.3.40, Kotlin now provides a kotlin-scripting-jsr223-embeddable dependency which: - Fixes classloading related issues - Provides out of the box JSR 223 support - Is compatible with Spring Boot Fat Jar mechanism This commit updates Spring Framework tests and documentation accordingly. Closes gh-23165
-
由 Sebastien Deleuze 提交于
-
由 Stephane Nicoll 提交于
* pr/23162: Polish FormattingConversionServiceTests Closes gh-23162
-
由 Johnny Lim 提交于
See gh-23162
-
由 Stephane Nicoll 提交于
* pr/23158: Polish YamlProcessorTests.flattenedMapIsSameAsPropertiesButOrdered() Closes gh-23158
-
由 Johnny Lim 提交于
See gh-23158
-
由 Rossen Stoyanchev 提交于
This commit removes the MessageHandlerAcceptor sub-class of RSocketMessageHandler, and rather than implementing directly the contracts for RSocket client and server acceptors, RSocketMessageHandler now exposes clientAcceptor() and serverAcceptor() methods that return the required adapter instances. This provides better separation between the RSocketMessageHandler and the RSocket adapter code, and also avoids implementing generic interfaces like the BiFunction required for the client acceptor.
-
- 19 6月, 2019 3 次提交
-
-
由 Sebastien Deleuze 提交于
-
由 Sebastien Deleuze 提交于
Closes gh-23153
-
由 Rossen Stoyanchev 提交于
-
- 18 6月, 2019 10 次提交
-
-
由 Sam Brannen 提交于
See gh-23141
-
由 RustyTheClone 提交于
This commit introduces an overloaded jsonPath() method to specify a target type to coerce into for MockMvcResultMatchers. - jsonPath(String, Matcher<T>, Class<T>) Closes gh-23141
-
由 Sam Brannen 提交于
-
由 Sebastien Deleuze 提交于
-
由 Sebastien Deleuze 提交于
Closes gh-23150
-
由 Sam Brannen 提交于
Prior to this commit, RestTemplate and HttpMessageConverterExtractor did not validate that the supplied HttpMessageConverter list contained no null elements, which can lead to a NullPointerException when the converters are accessed. This commit improves the user experience by failing immediately if the supplied HttpMessageConverter list contains a null element. This applies to constructors for RestTemplate and HttpMessageConverterExtractor as well as to RestTemplate#setMessageConverters(). Note, however, that RestTemplate#getMessageConverters() returns a mutable list. Thus, if a user modifies that list so that it contains null values, that will still lead to a NullPointerException when the converters are accessed. This commit also introduces noNullElements() variants for collections in org.springframework.util.Assert. Closes gh-23151
-
由 Sam Brannen 提交于
This commit documents which attributes in @Transactional are supported for test-managed transactions in the Spring TestContext Framework (TCF). Closes gh-23149
-
由 Sam Brannen 提交于
{@value ...} cannot be used outside of the current type.
-
由 Sam Brannen 提交于
-
由 Johnny Lim 提交于
Closes gh-23145
-
- 17 6月, 2019 3 次提交
-
-
由 Sam Brannen 提交于
-
由 Stephane Nicoll 提交于
* pr/23142: Fix typo Closes gh-23142
-
由 Issam El-atif 提交于
See gh-23142
-
- 14 6月, 2019 5 次提交
-
-
由 Arjen Poutsma 提交于
This commit makes sure that in DefaultMultipartMessageReader's DefaultFilePart, the file is not closed before all bytes are written, by using DataBufferUtils.write (see c1b6885191d6a50347aeaa14da994f0db88f26fe). The commit also improves on the logging of the DefaultMultipartMessageReader. Closes gh-23130
-
由 Arjen Poutsma 提交于
This commit adds two methods to DataBufferUtils: - one that reads a Flux<DataBuffer> from a Path - one that writes a Flux<DataBuffer> to a Path
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Closes gh-23122
-
由 Johnny Lim 提交于
Closes gh-23128
-