ServletWebServerInitializedEvent

Event to be published after the WebServer is ready. Useful for obtaining the local port of a running server.

Normally it will have been started, but listeners are free to inspect the server and stop and start it if they want to.

Author

Dave Syer

Since

2.0.0

Constructors

Link copied to clipboard
constructor(webServer: WebServer, applicationContext: ServletWebServerApplicationContext)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Access the application context that the server was created in.
Link copied to clipboard
open fun getSource(): Any

open fun getSource(): WebServer
Access the source of the event (an WebServer).
Link copied to clipboard
Access the WebServer.
Link copied to clipboard
open fun toString(): String