- 09 12月, 2015 7 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12926
-
由 Juergen Hoeller 提交于
Issue: SPR-13776
-
由 Stephane Nicoll 提交于
Issue: SPR-13746
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13769
-
由 Juergen Hoeller 提交于
Issue: SPR-13774
-
- 08 12月, 2015 4 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13772
-
由 Juergen Hoeller 提交于
Issue: SPR-13696
-
由 Juergen Hoeller 提交于
-
- 07 12月, 2015 5 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13763
-
由 Juergen Hoeller 提交于
Issue: SPR-13765
-
由 Juergen Hoeller 提交于
Issue: SPR-13764
-
由 Juergen Hoeller 提交于
AnnotationConfigWebApplicationContext allows for custom AnnotatedBeanDefinitionReader/ClassPathBeanDefinitionScanner Issue: SPR-9324
-
- 05 12月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13762
-
- 04 12月, 2015 5 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13761
-
由 Juergen Hoeller 提交于
Issue: SPR-13760
-
由 Juergen Hoeller 提交于
Issue: SPR-13759
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
- 03 12月, 2015 3 次提交
-
-
由 Juergen Hoeller 提交于
Includes a trivial refinement of RestTemplate's ResourceAccessException message. Issue: SPR-13755
-
由 Juergen Hoeller 提交于
Issue: SPR-13755
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13745
-
- 02 12月, 2015 9 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13753
-
由 Juergen Hoeller 提交于
Issue: SPR-13750
-
由 Juergen Hoeller 提交于
Issue: SPR-13752
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
Fixed a bug where the URL content negotiation "format" parameter values were case sensitive and only lowercase values were accepted. For example, URL query parameter format=json returned the appropriate JSON response but format=JSON resulted in a HttpMediaTypeNotAcceptableException and returned: 406 - The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers. When the MappingMediaTypeFileExtensionResolver is constructed, it is passed a map containing the media type key to MediaType mappings defined in the ContentNegotiationConfigurer. In the constructor of MappingMediaTypeFileExtensionResolver, the keys are converted to lowercase and the mappings of keys to MediaTypes are added to the ConcurrentMap<String, MediaType> mediaTypes using the lowercase version of the keys. However, when retrieving the MediaType from a key in the lookupMediaType method, no conversion to lowercase is performed so any value for the URL "format" parameter other than the lowercase version will not return the proper MediaType result. On May 1st, 2014, a change was made to ParameterContentNegotiationStrategy to handle cases where the content negotiation format URL parameter does not result in a match for a MediaType. If no match is found, a HttpMediaTypeNotAcceptableException is thrown resulting in the 406 response above. Prior to this commit, a null was returned instead of throwing an exception so this issue was hidden and appeared to function correctly. To make the media type lookup case insensitive, added a line to the lookupMediaType method in MediaTypeFileExtensionResolver to first convert the extension (media type key) to lowercase prior to attempting to retrieve it from the mediaTypes map. Issue: SPR-13747
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
-
- 01 12月, 2015 5 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
This commit reworks the arrangement to a centralized cache, avoiding any extra reflection attempts if a cache entry is known already. In the course of this, it also enforces toXXX methods to be declared as non-static now (which is the only sensible arrangement anyway). Issue: SPR-13703
-
由 Brian Clozel 提交于
Prior to this change, the resource handling FixedVersionStrategy would be applied on all links that match the configured pattern. This is problematic for relative links and can lead to rewritten links such as "/fixedversion/../css/main.css" which breaks. This commit prevents that Strategy from being applied to such links. Of course, one should avoid to use that VersionStrategy with relative links, but this change aims at not breaking existing links even if it means not prefixing the version as expected. Issue: SPR-13727
-
由 Juergen Hoeller 提交于
Issue: SPR-12926
-
由 Juergen Hoeller 提交于
-