Class ServerUtil


  • public class ServerUtil
    extends Object
    Utility class with methods useful when working with test servers.
    • Method Detail

      • waitForServer

        public static void waitForServer​(int port)
                                  throws Exception
        Wait until the server listening on a given TCP port is ready to accept connections.
        Parameters:
        port - The TCP port the server listens on.
        Throws:
        Exception