File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -90,15 +90,9 @@ default void addFormatters(FormatterRegistry registry) {
90
90
91
91
/**
92
92
* Add Spring MVC lifecycle interceptors for pre- and post-processing of
93
- * controller method invocations. Interceptors can be registered to apply
94
- * to all requests or be limited to a subset of URL patterns.
95
- * <p><strong>Note</strong> that interceptors registered here only apply to
96
- * controllers and not to resource handler requests. To intercept requests for
97
- * static resources either declare a
98
- * {@link org.springframework.web.servlet.handler.MappedInterceptor MappedInterceptor}
99
- * bean or switch to advanced configuration mode by extending
100
- * {@link org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
101
- * WebMvcConfigurationSupport} and then override {@code resourceHandlerMapping}.
93
+ * controller method invocations and resource handler requests.
94
+ * Interceptors can be registered to apply to all requests or be limited
95
+ * to a subset of URL patterns.
102
96
*/
103
97
default void addInterceptors (InterceptorRegistry registry ) {
104
98
}
You can’t perform that action at this time.
0 commit comments