Add MessageCodesResolver hook to WebMvcConfigurer

This change makes it possible to provide a custom MessageCodesResolver
through the MVC Java config whether using @EnableWebMvc and extending
WebMVcConfigurerAdapter or sub-classing directly from
WebMvcConfigurationSupport.

Issue: SPR-9223
This commit is contained in:
Rossen Stoyanchev
2012-05-15 17:02:06 -04:00
parent 1cec0f9c65
commit 2af294ab26
8 changed files with 208 additions and 128 deletions

View File

@@ -25,6 +25,7 @@ Changes in version 3.2 M1
* support access to all URI vars via @PathVariable Map<String, String>
* add "excludedExceptions" property to SimpleUrlHandlerMapping
* add CompositeRequestCondition for use with multiple custom request mapping conditions
* add option to configure custom MessageCodesResolver through WebMvcConfigurer
Changes in version 3.1.1 (2012-02-16)
-------------------------------------