- 02 11月, 2019 1 次提交
-
-
由 Spring Buildmaster 提交于
-
- 01 11月, 2019 2 次提交
-
-
由 방성범 (Bang Seongbeom) 提交于
Closes gh-23788
-
由 AlexeyAnufriev 提交于
Closes gh-23628
-
- 31 10月, 2019 12 次提交
-
-
由 Arjen Poutsma 提交于
Closes gh-23841
-
由 Sam Brannen 提交于
See gh-23834
-
由 Rossen Stoyanchev 提交于
Closes gh-23882
-
由 Dekel Pilli 提交于
See gh-23882
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Closes gh-23880
-
由 Sam Brannen 提交于
This commit refactors several tests to use SocketUtils to find an available port, compose a custom JMX service URL using that port, and start an MBeanServer for the particular test using that port. This commit also makes other changes to MBeanServer related tests in an effort to make them more robust when executed concurrently. Closes gh-23699
-
由 Sam Brannen 提交于
-
由 Brian Clozel 提交于
See gh-23884
-
由 Sam Brannen 提交于
-
由 Christoph Dreis 提交于
-
由 Brian Clozel 提交于
Prior to this commit, the `DateFormatterRegistrar` would register the annotation-based formatter before the pattern-based formatter. This would create an issue when an application tries to convert a `String` to an annotated `@DateTimeFormat Date`: since the converters are considered in reversed order of registration in `GenericConversionServicei#ConvertersForPair`, the pattern-based variant would always be considered before the annotation-based variant, overriding the developer's opinion. This commit aligns the `DateFormatterRegistrar` with the `DateTimeFormatterRegistrar` and registers the annotation-based variant last. Closes gh-23893
-
- 30 10月, 2019 17 次提交
-
-
由 Juergen Hoeller 提交于
Closes gh-23832
-
由 Sam Brannen 提交于
Prior to this commit, if MockServletContext was configured with a FileSystemResourceLoader, invocations of the following methods on a Microsoft Windows operating system resulted in an InvalidPathException if the supplied path contained a colon (such as "C:\\temp"). This is inconsistent with the behavior on non-Windows operating systems. In addition, for comparable errors resulting in an IOException, those methods (except getRealPath()) return null instead of throwing the exception. - getResourcePaths() - getResource() - getResourceAsStream() - getRealPath() This commit makes handling of InvalidPathException and IOException consistent for these methods: both exceptions now result in null be returned by these methods. Closes gh-23717
-
由 Stephane Nicoll 提交于
Previously, the infrastructure provided by WebMvcConfigurationSupport and WebFluxConfigurationSupport can lead to unexpected results due to the lack of qualifier for certain dependencies. Those configuration classes refer to very specific beans, yet their injection points do not define such qualifiers. As a result, if a candidate exists for the requested type, the context will inject the existing bean and will ignore a most specific one as such constraint it not defined. This can be easily reproduced by having a primary Validator whereas a dedicated "mvcValidator" is expected. Note that a parameter name is in no way a constraint as the name is only used as a fallback when a single candidate cannot be determined. This commit provides explicit @Qualifier metadata for such injection points, renaming the parameter name in the process to clarify that it isn't relevant for the proper bean to be resolved by the context. Closes gh-23887
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Closes gh-23879
-
由 Juergen Hoeller 提交于
Closes gh-23834
-
由 Juergen Hoeller 提交于
Closes gh-23829
-
由 Rossen Stoyanchev 提交于
See gh-23741
-
由 Rossen Stoyanchev 提交于
A ResponseStatus exception now exposes extra method to return headers for the response. This is used in ResponseStatusExceptionHandler to apply the headers to the response. Closes gh-23741
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
See gh-23793
-
由 Rossen Stoyanchev 提交于
Closes gh-23793
-
由 Juergen Hoeller 提交于
Closes gh-23794
-
由 Juergen Hoeller 提交于
Closes gh-23792
-
由 Juergen Hoeller 提交于
Latest dependency updates (Tomcat 9.0.27, Undertow 2.0.27, RxJava 2.2.13, Gson 2.8.6, Apache Johnzon 1.2.1, Hibernate ORM 5.4.8, EclipseLink 2.7.5, H2 1.4.200, POI 4.1.1, Quartz 2.3.2, WebJars Locator 0.42, HtmlUnit 2.36, Checkstyle 8.26, Mockito 3.1, Objenesis 3.1)
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Closes gh-23747
-
- 29 10月, 2019 8 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit and following changes done in d27b5d0a, the CORS response headers would not be added for SockJS-related requests, even though a CORS configuration had been applied to SockJS/WebSocket. This was due to a missing case in our implementation: calling `AbstractHandlerMapping#getHandlerInternal` can return a Handler directly, but also a `HandlerExecutionChain` in some cases, as explained in the Javadoc. This commit ensures that, when checking for existing CORS configuration, the `AbstractHandlerMapping` class also considers the `HandlerExecutionChain` case and unwraps it to get the CORS configuration from the actual Handler. Fixes gh-23843
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Centralized maxInMemorySize exposed via CodecConfigurer along with ability to plug in an instance of MultipartHttpMessageWrite. Closes gh-23884
-
由 Rossen Stoyanchev 提交于
See gh-23884
-
由 Brian Clozel 提交于
See gh-23884
-
由 Brian Clozel 提交于
-
由 Rossen Stoyanchev 提交于
- Add maxInMemorySize property to Decoder and HttpMessageReader implementations that aggregate input to trigger DataBufferLimitException when reached. - For codecs that call DataBufferUtils#join, there is now an overloaded variant with a maxInMemorySize extra argument. Internally, a custom LimitedDataBufferList is used to count and enforce the limit. - Jackson2Tokenizer and XmlEventDecoder support those limits per streamed JSON object. See gh-23884
-
由 Sam Brannen 提交于
See gh-23769
-