@Test public void stop() throws Exception { server.stop(); replayAll(); webServer().stop(); }
public void stop() throws IOException { try { server.stop(); } catch (Exception e) { LOG.error("Error stopping HTTP Server", e); throw new IOException("Unable to stop HTTP Server", e); } }
EmbeddedWebServer { public void stop() throws IOException { try { server.stop(); } catch (Exception e) { LOG.error("Error stopping HTTP Server", e); throw new IOException("Unable to stop HTTP Server", e); } } }
EmbeddedWebServer { public void stop() throws IOException { try { server.stop(); } catch (Exception e) { LOG.error("Error stopping HTTP Server", e); throw new IOException("Unable to stop HTTP Server", e); } } EmbeddedWebServer(int port); private  EmbeddedWebServer(Server server); @VisibleForTesting  EmbeddedWebServer(Server server, Context context); }
EmbeddedWebServer { public void stop() throws IOException { try { server.stop(); } catch (Exception e) { LOG.error("Error stopping HTTP Server", e); throw new IOException("Unable to stop HTTP Server", e); } } EmbeddedWebServer(int port); private  EmbeddedWebServer(Server server); @VisibleForTesting  EmbeddedWebServer(Server server, Context context); void start(); boolean isRunning(); void stop(); void waitForShutdown(); }
EmbeddedWebServer { public void stop() throws IOException { try { server.stop(); } catch (Exception e) { LOG.error("Error stopping HTTP Server", e); throw new IOException("Unable to stop HTTP Server", e); } } EmbeddedWebServer(int port); private  EmbeddedWebServer(Server server); @VisibleForTesting  EmbeddedWebServer(Server server, Context context); void start(); boolean isRunning(); void stop(); void waitForShutdown();  }