org.springframework.boot.web.context

Interface WebServerApplicationContext

    • Method Detail

      • getWebServer

        WebServer getWebServer()
        Returns the WebServer that was created by the context or null if the server has not yet been created.
        Returns:
        the web server
      • getServerNamespace

        String getServerNamespace()
        Returns the namespace of the web server application context or null if no namespace has been set. Used for disambiguation when multiple web servers are running in the same application (for example a management context running on a different port).
        Returns:
        the server namespace