/** * Create and start a server with the test webapp * * @return the newly started server * * @throws IOException on any failure * @throws AssertionError if a condition was not met */ public static HttpServer createAndStartTestServer() throws IOException { HttpServer server = createTestServer(); server.start(); return server; }
/** * Create and start a server with the test webapp * * @return the newly started server * * @throws IOException on any failure * @throws AssertionError if a condition was not met */ public static HttpServer2 createAndStartTestServer() throws IOException { HttpServer2 server = createTestServer(); server.start(); return server; }
/** * Create and start a server with the test webapp * * @return the newly started server * * @throws IOException on any failure * @throws AssertionError if a condition was not met */ public static HttpServer2 createAndStartTestServer() throws IOException { HttpServer2 server = createTestServer(); server.start(); return server; }