docs: private static void startRestService(CqlSession session)
        throws IOException, InterruptedException {
  
      final HttpServer server =
          JdkHttpServerFactory.createHttpServer(BASE_URI, new VideoApplication(session), false);
      final ExecutorService executor = Executors.newSingleThreadExecutor();
      server.setExecutor(executor);
      Runtime.getRuntime()
          .addShutdownHook(
              new Thread(
                  () -> {
                    System.out.println();
                    System.out.println("Stopping REST Service");
                    server.stop(0);
                    executor.shutdownNow();
                    System.out.println("REST Service stopped");
                  }));
      server.start();
  
      System.out.println();
      System.out.printf(
          "REST Service started on http://localhost:%d/users, press CTRL+C to stop%n", HTTP_PORT);
      System.out.println(
          "To explore this example, start with the following request and walk from there:");
      System.out.printf("curl -i http://localhost:%d/users/1/videos%n", HTTP_PORT);
      System.out.println();
  
      Thread.currentThread().join();
    }