public class ReactiveWebServerInitializedEvent extends WebServerInitializedEvent
WebServer
is ready. Useful for obtaining the
local port of a running server.Constructor and Description |
---|
ReactiveWebServerInitializedEvent(WebServer webServer,
ReactiveWebServerApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
ReactiveWebServerApplicationContext |
getApplicationContext()
Access the application context that the server was created in.
|
getSource, getWebServer
public ReactiveWebServerInitializedEvent(WebServer webServer, ReactiveWebServerApplicationContext applicationContext)
public ReactiveWebServerApplicationContext getApplicationContext()
WebServerInitializedEvent
getApplicationContext
in class WebServerInitializedEvent