Skip to content

Make the structure of the Undertow support and the structure of the Tomcat and Jetty support consistent #3016

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

Open
wilkinsona opened this issue May 20, 2015 · 1 comment
Assignees
Labels
type: task A general task

Comments

@wilkinsona
Copy link
Member

Both JettyEmbeddedServletContainerFactory and TomcatEmbeddedServletContainerFactory have very few fields and the customisation required to apply the configuration in ServerProperties.Jetty and ServerProperties.Tomcat is applied using customisers. In comparison, UndertowEmbeddedServletContainerFactory contains numerous fields that duplicate those in ServerProperties.Undertow and it handles its own customisation.

I think this inconsistency should be removed, and I think that should happen by changing the Undertow support to align with the Jetty and Tomcat support. At the same time, we could consider moving the customisation logic out of ServerProperties.Jetty and ServerProperties.Tomcat into separate classes still in the spring-boot-autoconfigure module.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 30, 2015
@wilkinsona wilkinsona removed the status: waiting-for-triage An issue we've not yet triaged label Nov 30, 2015
@wilkinsona wilkinsona added for: team-attention An issue we'd like other members of the team to review priority: normal type: task A general task labels Jan 12, 2017
@philwebb philwebb removed the for: team-attention An issue we'd like other members of the team to review label Feb 2, 2017
@snicoll
Copy link
Member

snicoll commented Mar 13, 2018

Paging @bclozel as I think we might have fixed this one in the meantime.

@bclozel bclozel added this to the Backlog milestone Mar 21, 2018
@snicoll snicoll removed their assignment Sep 14, 2023
wanger26 added a commit to wanger26/spring-boot that referenced this issue Mar 12, 2024
- getUndertow() to UndertowWebServer will be null until the server has been started. Issue spring-projects#3016 would enable getUndertow() to behave in a similar way to getTomcat() on TomcatWebServer.

spring-projects#39839

Signed-off-by: Jakob Wanger <[email protected]>
wanger26 added a commit to wanger26/spring-boot that referenced this issue Mar 13, 2024
- getUndertow() to UndertowWebServer will be null until the server has been started. Issue spring-projects#3016 would enable getUndertow() to behave in a similar way to getTomcat() on TomcatWebServer.

spring-projects#39839

Signed-off-by: Jakob Wanger <[email protected]>
mhalbritter pushed a commit that referenced this issue Mar 13, 2024
getUndertow() to UndertowWebServer returns null until the server has
been started. Issue #3016 would enable getUndertow() to behave in a
similar way to getTomcat() on TomcatWebServer.

Signed-off-by: Jakob Wanger <[email protected]>

See gh-39916
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

5 participants