@FunctionalInterface public interface ReactiveWebServerFactory
WebServer
.WebServer
Modifier and Type | Method and Description |
---|---|
WebServer |
getWebServer(HttpHandler httpHandler)
Gets a new fully configured but paused
WebServer instance. |
WebServer getWebServer(HttpHandler httpHandler)
WebServer
instance. Clients should
not be able to connect to the returned server until WebServer.start()
is
called (which happens when the ApplicationContext
has been fully
refreshed).httpHandler
- the HTTP handler in charge of processing requestsWebServer
WebServer.stop()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.