Exemplo n.º 1
0
  public void stopHttpServer(HttpServer httpServer) {
    try {
      httpServer.stop(true);
    } catch (InterruptedException ie) {
      SysLog.logThrowable(ie);
    }

    SysLog.logInfo("http server was stopped");
  }
Exemplo n.º 2
0
 @After
 public void tearDown() {
   httpServer.stop();
 }
 protected void tearDown() throws Exception {
   if (this.server != null) {
     server.stop();
   }
 }