File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 59
59
*
60
60
* <p>If {@link WebMvcConfigurer} does not expose some advanced setting that
61
61
* needs to be configured, consider removing the {@code @EnableWebMvc}
62
- * annotation and extending directly from {@link WebMvcConfigurationSupport}, e.g.:
62
+ * annotation and extending directly from {@link WebMvcConfigurationSupport}
63
+ * or {@link DelegatingWebMvcConfiguration}, e.g.:
63
64
*
64
65
* <pre class="code">
65
66
* @Configuration
84
85
* @since 3.1
85
86
* @see org.springframework.web.servlet.config.annotation.WebMvcConfigurer
86
87
* @see org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
88
+ * @see org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
89
+ * @see org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
87
90
*/
88
91
@ Retention (RetentionPolicy .RUNTIME )
89
92
@ Target (ElementType .TYPE )
90
93
@ Documented
91
- @ Import ({ DelegatingWebMvcConfiguration .class } )
94
+ @ Import (DelegatingWebMvcConfiguration .class )
92
95
public @interface EnableWebMvc {
93
96
}
You can’t perform that action at this time.
0 commit comments