-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Add loadOnStartup attribute to @EndpointServlet
#16053
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
Conversation
loadOnStartup property was missing from EndpointServlet and cannot be set inside ServletEndpointRegistrar. Now it can be set and register a Servlet with that integer property ready to act upon registration Fixes spring-projects#15672
It was importing ServletRegistration and it is not needed. Refers to spring-projects#16053
I removed an unused import in EndpointServlet. |
@wilkinsona It seems that the concourse build failed because of changes in hateoas module (not made by my commits). It will be marked OK in following builds or is any further action required by me? |
There were some breaking API changes in recent HATEOAS snapshots. We've adapted to them on master now. No need for you to take any further action. We'll rebase your changes prior to merging them. Thanks for asking. |
loadOnStartup property was missing from EndpointServlet and cannot be set inside ServletEndpointRegistrar. Now it can be set and register a Servlet with that integer property ready to act upon registration. See gh-16053
* pr/16053: Polish "Add loadOnStartup property to EndpointServlet" Add loadOnStartup property to EndpointServlet
@juliojgd thank you very much for making your first contribution to Spring Boot. This work is now merged in |
@snicoll Thank you very much for your review. I hope I will be contributing again. :) |
@EndpointServlet
loadOnStartup property was missing from EndpointServlet and cannot
be set inside ServletEndpointRegistrar. Now it can be set and register
a Servlet with that integer property ready to act upon registration
Fixes #15672