-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Incorrect Javadoc for WebMvcConfigurer#addInterceptors #23908
Copy link
Copy link
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchesstatus: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: taskA general taskA general task
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchesstatus: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: taskA general taskA general task
Type
Fields
Give feedbackNo fields configured for issues without a type.
Affects: <5.1.x, 5.0.x>
In spring 5.1.x also in 5.0.x, resourceHandlerMapping picks up interceptors configured for controllers only.
WebMvcConfigurationSupport.java
As per documentation of WebMvcConfigurer
So any interceptor added using addInterceptors in WebMvcConfigurerAdapter or WebMvcConfigurer should not apply to resource handlerMapping which is not happening anymore.