code: public StubServer run() {
          simpleServer.getServerConfiguration().addHttpHandler(stubsToHandler(), "/");
          try {
              if (secured) {
                  for (NetworkListener networkListener : simpleServer.getListeners()) {
                      networkListener.setSecure(true);
                      SSLEngineConfigurator sslEngineConfig = new SSLEngineConfigurator(getSslConfig(), false, false, false);
                      networkListener.setSSLEngineConfig(sslEngineConfig);
                  }
              }
              simpleServer.start();
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
          return this;
      }
docs: Starts the server