@FunctionalInterface public interface ReactiveWebServerFactory extends WebServerFactory
WebServer
.WebServer
Modifier and Type | Method and Description |
---|---|
WebServer |
getWebServer(org.springframework.http.server.reactive.HttpHandler httpHandler)
Gets a new fully configured but paused
WebServer instance. |
WebServer getWebServer(org.springframework.http.server.reactive.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()