@FunctionalInterface public interface ServletWebServerFactory
WebServer
.WebServer
Modifier and Type | Method and Description |
---|---|
WebServer |
getWebServer(ServletContextInitializer... initializers)
Gets a new fully configured but paused
WebServer instance. |
WebServer getWebServer(ServletContextInitializer... initializers)
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).initializers
- ServletContextInitializer
s that should be applied as
the server startsWebServer
WebServer.stop()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.