Closed
Description
The constructors on UndertowServletWebServer
are heavily overloaded and rather unwieldy. The addition of graceful shutdown support has added to the problem as it's introduced another argument on the constructor. Many of the arguments are passed in so that they can be used to create HttpHandler
instances that wrap those from the DeplomentManager
. It would be better if this logic was in the factory that creates the server rather than the server itself.
We have a similar, albeit smaller, problem with UndertowWebServer
. It would be nice to get rid of the Closeable
constructor argument.