getWebServer

open fun getWebServer(httpHandler: HttpHandler): WebServer

Gets a new fully configured but paused WebServer instance. Clients should not be able to connect to the returned server until start is called (which happens when the ApplicationContext has been fully refreshed).

Return

a fully configured and started WebServer

Parameters

httpHandler

the HTTP handler in charge of processing requests

See also