示例#1
0
  public void stopHttpServer(HttpServer httpServer) {
    try {
      httpServer.stop(true);
    } catch (InterruptedException ie) {
      SysLog.logThrowable(ie);
    }

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