Class WebServerInitializedEvent

    • Constructor Detail

      • WebServerInitializedEvent

        protected WebServerInitializedEvent(WebServer webServer)
    • Method Detail

      • getWebServer

        public WebServer getWebServer()
        Access the WebServer.
        the embedded web server
      • getApplicationContext

        public abstract WebServerApplicationContext getApplicationContext()
        Access the application context that the server was created in. Sometimes it is prudent to check that this matches expectations (like being equal to the current context) before acting on the server itself.
        the applicationContext that the server was created from