- 08 7月, 2015 8 次提交
-
-
由 Brian Clozel 提交于
As of SPR-11792, WebContentGenerator and WebContentInterceptor offer new APIs and new behavior regarding HTTP caching, including the use of a new CacheControl class. Those changes broke part of the behavior in WebContentInterceptor. This class allows to override the global Cache configuration at the Generator level, using specific mappings. Prior to this change, those mappings would not properly apply the HTTP caching configuration when using deprecated configuration settings in WebContentGenerator. This change fixes those backwards compatibility issues for WebContentInterceptor users. Issue: SPR-13207
-
由 Sam Brannen 提交于
This commit adds additional tests to RequestContextHolderTests that verify proper support for the MockHttpServletRequest managed by Spring MVC Test in the following scenarios: - request-scoped service invoked by controller - session-scoped service invoked by controller - custom filter that sets request attributes Issue: SPR-13211
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12579
-
由 Juergen Hoeller 提交于
Issue: SPR-13210
-
由 Sam Brannen 提交于
This commit refactors RequestContextHolderTests in preparation for the work to be done in SPR-13211. Issue: SPR-13211
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
A note is added to suggest the use of @Primary with a LocalValidatorFactory bean next to the MVC Java config. Issue: SPR-12194
-
由 Rossen Stoyanchev 提交于
Conversion and validation documentation related to Spring MVC is now consolidated in the Spring MVC chapter with references to and from the Validation and Data Binding chapter. Examples have been updated to include MVC Java config as well.
-
- 07 7月, 2015 21 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-7301
-
由 Juergen Hoeller 提交于
Also includes an explicit note on stop vs destroy callbacks for Lifecycle beans. Issue: SPR-13118 Issue: SPR-12882 Issue: SPR-12345 Issue: SPR-11671
-
由 Juergen Hoeller 提交于
Issue: SPR-12896
-
由 Juergen Hoeller 提交于
Issue: SPR-13040
-
由 Juergen Hoeller 提交于
-
由 Sebastien Deleuze 提交于
Issue: SPR-13196
-
由 Juergen Hoeller 提交于
Issue: SPR-13205
-
由 Sebastien Deleuze 提交于
-
由 Sebastien Deleuze 提交于
Issue: SPR-13193
-
由 Sebastien Deleuze 提交于
-
由 Rossen Stoyanchev 提交于
When using Appache Commons FileUpload, multi parts with binary data (i.e. that are not actual files) are saved and then accessed as String request parameters. Before this change however the RequestPartServletServerHttpRequest used a fixed encoding (UTF-8) while the parsing code in CommonsFileUploadSupport/Resolver used the encoding from the content-type header, or the request, or the FileUpload component. This change does a best effort to determine the encoding of the request parameter using a similar algorithm as the parsing side that should work the same unless the encoding comes from the FileUpload component which is not accessible. Issue: SPR-13096
-
由 Rossen Stoyanchev 提交于
Add section on Spring MVC TEst vs full integation testing and provide reference to Spring Boot's @WebIntegrationTest as an alternative. Issue: SPR-13169
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
DefaultSubscriptionRegistry uses deep LinkedMultiValueMap copies between accessCache and updateCache Issue: SPR-13185
-
由 Juergen Hoeller 提交于
Issue: SPR-13201
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13185
-
由 Rossen Stoyanchev 提交于
After SPR-12884 (4.2 RC1) introduced support for a selector header expression on SUBSCRIBE frames, messages from the destination cache are further filtered based on the selector expression. While adding a test to find subscriptions at the same time as unsubscribing, a potential NPE was exposed. This commit fixes the NPE. Issue: SPR-13204
-
由 Rossen Stoyanchev 提交于
-
由 Sam Brannen 提交于
-
- 06 7月, 2015 4 次提交
-
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13200
-
由 Juergen Hoeller 提交于
Issue: SPR-11861
-
由 Juergen Hoeller 提交于
Issue: SPR-13177
-
- 04 7月, 2015 3 次提交
-
-
由 Sam Brannen 提交于
-
由 Brian Clozel 提交于
Issue: SPR-13194
-
由 Sam Brannen 提交于
-
- 03 7月, 2015 4 次提交
-
-
由 Sam Brannen 提交于
This commit introduces a test that verifies the fix introduced in 6842fd7f. Issue: SPR-13079
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
Before this change <websocket:decorator-factory> decorated to the SubProtocolWebSocketHandler RootBeanDefinition rather than using a RuntimeBeanReference, which led to a separate instance of SubProtocolWebSocketHandler to be created. Issue: SPR-13190
-
由 Sam Brannen 提交于
Issue: SPR-13171
-