docs: public void startServer() {
  
      server = new Server(httpPort);
      server.setHandler(wrapHandlers());
  
      if (isWebSocketInClassPath()) {
        setupForWebSocket();
      }
      try {
        server.start();
        log().info("server started");
  
        Runtime.getRuntime().addShutdownHook(new Thread(new ShutdownRunnable()));
        
        if (useStdInShutdown) {
          // generally for use in IDE via JettyRun, Use CTRL-D in IDE console to shutdown
          BufferedReader systemIn = new BufferedReader(new InputStreamReader(System.in, "UTF-8"));
          while((systemIn.readLine()) != null) {
            // ignore anything except CTRL-D by itself
          }
          System.out.println("Shutdown via CTRL-D");
          System.exit(0);
        }
  
      } catch (Exception e) {
        e.printStackTrace();
        System.exit(100);
      }
    }