Skip to content

Webmvc resource handler registration callback#50869

Closed
einnxk wants to merge 3 commits into
spring-projects:mainfrom
einnxk:gh-50792-webmvc-auto-configuration-callback
Closed

Webmvc resource handler registration callback#50869
einnxk wants to merge 3 commits into
spring-projects:mainfrom
einnxk:gh-50792-webmvc-auto-configuration-callback

Conversation

@einnxk

@einnxk einnxk commented Jun 26, 2026

Copy link
Copy Markdown

Introduce a WebMvcResourceHandlerRegistryCustomizer callback interface that allows customization of the ResourceHandlerRegistry before Spring Boot registers its default resource handlers.

The customizer is detected as a bean and invoked during WebMvcAutoConfiguration.

Related to #50792

einnxk added 3 commits June 26, 2026 16:49
Signed-off-by: EinNxk <einnxk@gmail.com>
Signed-off-by: EinNxk <einnxk@gmail.com>
Signed-off-by: EinNxk <einnxk@gmail.com>
@einnxk einnxk force-pushed the gh-50792-webmvc-auto-configuration-callback branch from 840f4f8 to e7cfe6b Compare June 26, 2026 14:50
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 26, 2026
@wilkinsona

Copy link
Copy Markdown
Member

Thanks for the proposal. Unfortunately, this isn't the right approach and someone else has already offered to contribute.

@wilkinsona wilkinsona closed this Jun 27, 2026
@wilkinsona wilkinsona added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants