- 25 1月, 2016 5 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13130
-
由 Sebastien Deleuze 提交于
AbstractJackson2HttpMessageConverter now implements its own TypeVariable resolution algorithm since in Jackson 2.7 it is now deprecated and has not the same behavior . See https://github.com/FasterXML/jackson-databind/issues/1087 for more details. The dependency on jackson-datatype-jdk7 has been removed since it is now provided by default in the jackson-databind module. Issues: SPR-13483, SPR-13728
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13130
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13130
-
由 Rossen Stoyanchev 提交于
-
- 23 1月, 2016 2 次提交
-
-
由 Brian Clozel 提交于
This commit updates the javadoc of `RequestMappingHanderAdapter.setCacheSecondsForSessionAttributeHandlers` to explain how one can disable that feature and prevent "Cache-Control" directives from being added when `@SessionAttributes` annotations are used on Controllers. Issue: SPR-13598
-
由 Brian Clozel 提交于
Prior to this change, configuring a `FixedVersionStrategy` like so would configure a single "/js/**" path pattern: ``` versionResourceResolver.addFixedVersionStrategy("v1.0.0","/js/**"); ``` This commit makes sure that for each path pattern, its prefixed version is added to the map. For example, the previous configuration also adds "/v1.0.0/js/**". Issue: SPR-13883
-
- 22 1月, 2016 10 次提交
-
-
由 Brian Clozel 提交于
Prior to this change, the `RequestMappingHandlerAdapter` would first add a "Cache-Control" HTTP header to the response (depending on its `WebContentGenerator` configuration and `@SessionAttributes` on the handler class); then, the Adapter would delegate the actual handler the processing of the request. This leads to issues, as the handler does not have full control to the response and has to deal with pre-existing headers in the response. This means that the Adapter and the handler can add incompatible Cache-Control directives without knowing it, since one cannot see the headers added by the other until the response is committed. This commit switches the order of execution: first, the handler is called (possibly adding HTTP headers), then the RMHA processes the response and adds "Cache-Control" directives *only if there's no Cache-Control header already defined*. Issue: SPR-13867
-
由 Rossen Stoyanchev 提交于
This change exposes protected methods for instantiating sub-classes of RequestMappingHandlerAdapter and ExceptonHandlerExceptionResolver similar to the existing method for RequestMappingHandlerMapping.
-
由 Rossen Stoyanchev 提交于
-
由 Stephane Nicoll 提交于
-
由 Andy Clement 提交于
Prior to this change SpEL did not have an syntactic construct enabling easy access to a FactoryBean. With this change it is now possible to use &foo in an expression when the factory bean should be returned. Issue: SPR-9511
-
由 Rossen Stoyanchev 提交于
Spring MVC Test now parses application/x-www-form-urlencoded request content and populates request parameters from it. This can be useful when running client-side tests against a MockMvc via MockMvcClientHttpRequestFactory. Issue: SPR-13733
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13044
-
由 Brian Clozel 提交于
Prior to this change, the `ResourceUrlEncodingFilter` would try to lookup resources URLs as soon as the given URL would be longer than the expected context+servlet prefix path. This can lead to OutOfBoundsExceptions when the provided URL does not start with that prefix and still has the required length. This commit makes sure that all candidate URLs for resources lookup are prefixed with the cached servlet and context path. This underlines the fact that the `ResourceUrlEncodingFilter` does not support relative URLs for now and delegates to the native servlet implementation in that case. Issue: SPR-13861
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10087
-
- 21 1月, 2016 7 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13719
-
由 Kamill Sokol 提交于
Prior to this commit, Spring MVC Test only supported HTTP methods GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE and multipart file upload. This change adds generic methods to MockMvcRequestBuilders in order to allow testing of arbitrary HTTP methods in a Spring MVC application. Issue: SPR-13719
-
由 Rossen Stoyanchev 提交于
-
由 Sammy Chu 提交于
Issue: SPR-13876
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13560
-
- 20 1月, 2016 1 次提交
-
-
由 Stephane Nicoll 提交于
This commit allows to create a Quartz trigger implementation via either `CronTriggerFactoryBean` or `SimpleTriggerFactoryBean` even if no job detail is provided. Issue: SPR-13604
-
- 19 1月, 2016 2 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-13837
-
由 Stephane Nicoll 提交于
Issue: SPR-13837
-
- 18 1月, 2016 2 次提交
-
-
由 Stephane Nicoll 提交于
Previously, if a database needs to be initialized with several scripts and many (or all) use a custom separator, said separator must be repeated for each script. This commit introduces a `separator` property at the parent element level that can be used to customize the default separator. This is available for both the `initialize-database` and `embedded-database` elements. Issue: SPR-13792
-
由 Stephane Nicoll 提交于
Add a test that explicitely validates that `@ManagedResource` and friends can be set on an interface. Issue: SPR-13138
-
- 16 1月, 2016 10 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-13578
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13547
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13736
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13344
-
由 Juergen Hoeller 提交于
Issue: SPR-13839
-
由 Stephane Nicoll 提交于
Support of @JsonView on @JmsListener annotated method that uses the jackson converter. Also update MappingJackson2MessageConverter to offer a public API to set the JSON view to use to serialize a payload. Issue: SPR-13237
-
由 Juergen Hoeller 提交于
Issue: SPR-13871
-
由 Juergen Hoeller 提交于
Issue: SPR-13842
-
由 Juergen Hoeller 提交于
Issue: SPR-13839
-
- 15 1月, 2016 1 次提交
-
-
由 Stephane Nicoll 提交于
-