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

    SysLog.logInfo("http server was stopped");
  }
Esempio n. 2
0
 public static void requestStop() {
   SysLog.logInfo("setting stop signal for http server");
   synchronized (instance) {
     isToStop = true;
     instance.notify();
   }
 }
Esempio n. 3
0
 public void startHttpServer(HttpServer httpServer) throws Exception {
   httpServer.start();
   SysLog.logInfo("http server was started");
 }