Skip to content

Document how to discover the HTTP Port at Runtime for both Servlet and Reactive web apps #22898

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

Closed
wants to merge 1 commit into from

Conversation

johncfranco
Copy link
Contributor

The section about retrieving the bound port for an embedded web server had only the proper interface for servlet-based servers, not for reactive servers. It took me a while to figure it out, so adding what I found here might save other people the time that it cost me.

The section about retrieving the bound port for an embedded web server had only the proper interface for servlet-based servers, not for reactive servers.  It took me a while to figure it out, so adding what I found here might save other people the time that it cost me.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 12, 2020
@snicoll snicoll added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 12, 2020
@snicoll snicoll added this to the 2.2.x milestone Aug 12, 2020
@snicoll snicoll changed the title Add reactive web server port retrieval method Document how to discover the HTTP Port at Runtime for both Servlet and Reactive web apps Aug 12, 2020
@snicoll snicoll self-assigned this Aug 12, 2020
@snicoll snicoll modified the milestones: 2.2.x, 2.2.10 Aug 12, 2020
snicoll pushed a commit that referenced this pull request Aug 12, 2020
@snicoll snicoll closed this in 5c14e85 Aug 12, 2020
@snicoll
Copy link
Member

snicoll commented Aug 12, 2020

@johncfranco thank you for making your first contribution to Spring Boot. It turns out that How-To was a little bit outdated anyway as we have a common abstraction between Servlet-based and Reactive web apps. I've polished your contribution to mention how you can listen to a common event that works in both arrangements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants