public class ReactiveWebServerInitializedEvent extends WebServerInitializedEvent
ReactiveWebServerApplicationContext is
refreshed and the WebServer is ready. Useful for obtaining the local port of a
running server.source| Constructor and Description |
|---|
ReactiveWebServerInitializedEvent(WebServer source,
ReactiveWebServerApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
ReactiveWebServerApplicationContext |
getApplicationContext()
Access the application context that the server was created in.
|
String |
getServerId()
Access the
WebServer Id used internally to differentiate application /
management servers. |
getSource, getWebServertoStringpublic ReactiveWebServerInitializedEvent(WebServer source, ReactiveWebServerApplicationContext applicationContext)
public ReactiveWebServerApplicationContext getApplicationContext()
WebServerInitializedEventgetApplicationContext in class WebServerInitializedEventpublic String getServerId()
WebServerInitializedEventWebServer Id used internally to differentiate application /
management servers.getServerId in class WebServerInitializedEventCopyright © 2017 Pivotal Software, Inc.. All rights reserved.