Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for AbstractUrlHandlerMapping to add/remove handlers at runtime #32064

Closed
wants to merge 3 commits into from

Conversation

awmeinema
Copy link
Contributor

Closes #26798

Made void registerHandler(String urlPath, Object handler) throws BeansException, IllegalStateException public and introduced a public unregisterHalder(String urlPath).

Makes possible to add and remove handlers at runtime.

registerHandler made public to make it possible to add a handler at runtime
registerHandler to be public to make it possible to add handler at runtime.

Closes spring-projectsgh-26798
@pivotal-cla
Copy link

@awmeinema Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@awmeinema Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 19, 2024
@jhoeller jhoeller added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Feb 5, 2024
@jhoeller jhoeller added this to the 6.2.x milestone Feb 5, 2024
@snicoll snicoll self-assigned this Apr 30, 2024
@snicoll snicoll closed this in 2b62897 Apr 30, 2024
@snicoll snicoll modified the milestones: 6.2.x, 6.2.0-M2 Apr 30, 2024
@snicoll
Copy link
Member

snicoll commented Apr 30, 2024

@awmeinema thanks for making your first contribution to Spring Framework. I've polished things up a bit and added tests in ad0c488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for AbstractUrlHandlerMapping to add/remove handlers at runtime
5 participants