resourceHandlerMapping should be registered with shared HandlerInterceptor [SPR-16034] #20583
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Brian Clozel opened SPR-16034 and commented
In
WebMvcConfigurationSupport
, the resourceHandlerMapping
is only registered with theResourceUrlProviderExposingInterceptor
and does not leverage the set of configured interceptors.Even if
ResourceUrlProviderExposingInterceptor
might be enough for most use cases when serving static resources, registering additional interceptors can be useful for other use cases like metrics.Reference URL: spring-projects/spring-boot#10335
Referenced from: commits 1356bd4
The text was updated successfully, but these errors were encountered: