Class WebApplicationServers

    • Method Detail

      • getRunningServer

        public static WebApplicationServer getRunningServer​(int port)
        Returns the server that is running on the given port (if one exists). Note that this only provides servers that were launched from this JVM.
        Parameters:
        port - the port
        Returns:
        the server that is running on the given port.