code: public static KieServerControllerClient newWebSocketClient(final String controllerUrl,
                                                                 final String login,
                                                                 final String password) {
          return new WebSocketKieServerControllerClient(controllerUrl,
                                                        login,
                                                        password,
                                                        null,
                                                        null);
      }
docs: Creates a new Kie Controller Client using Web Socket based service
  @param controllerUrl the URL to the server (e.g.: "ws://localhost:8080/kie-server-controller/websocket/controller")
  @param login user login
  @param password user password
  @return client instance