From 416c282609423f260b54a06625d7261a5d5d8f5c Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 12 May 2011 15:03:36 +0000 Subject: [PATCH] Add method to allow further validation of request mapping infos at startup + other minor javadoc updates. git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4297 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../annotation/WebMvcConfiguration.java | 6 +- .../config/annotation/WebMvcConfigurer.java | 10 ++-- .../annotation/WebMvcConfigurerAdapter.java | 10 ++-- .../annotation/WebMvcConfigurerComposite.java | 58 +++++++++---------- .../handler/AbstractHandlerMethodMapping.java | 8 +++ .../RequestMappingHandlerAdapter.java | 11 ++-- .../RequestMappingHandlerMapping.java | 13 +++++ 7 files changed, 69 insertions(+), 47 deletions(-) diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfiguration.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfiguration.java index fe38c31a3dd..0d843601341 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfiguration.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfiguration.java @@ -59,7 +59,6 @@ import org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping; import org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor; import org.springframework.web.servlet.handler.HandlerExceptionResolverComposite; import org.springframework.web.servlet.handler.MappedInterceptor; -import org.springframework.web.servlet.handler.MappedInterceptors; import org.springframework.web.servlet.handler.SimpleUrlHandlerMapping; import org.springframework.web.servlet.mvc.Controller; import org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter; @@ -88,7 +87,7 @@ import org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolv * * *

Note: that the SimpleUrlHandlerMapping instances above will have empty URL maps and - * hence no effect until explicitly configured via {@link WebMvcConfigurer}. + * hence no effect until explicitly configured via one of the {@link WebMvcConfigurer} callbacks. * *

Registers these handler adapters: *