code: @Override
    public Response handle() throws Exception {
      StatusGenerator gen = new StatusGenerator(getServer());
  
  
      JSONObject res = gen.generate();
  
      List<ServerSideSession> sessions = getServer().getSessions();
      Response resp = new Response();
  
      resp.setStatus(0);
      resp.setValue(res);
      if (sessions.size() == 0) {
        resp.setSessionId(null);
      } else if (sessions.size() == 1) {
        resp.setSessionId(sessions.get(0).getSessionId());
      } else {
        throw new WebDriverException("NI multi sessions per server.");
      }
      return resp;
    }
docs: /*
  (non-Javadoc)
  
  @see org.uiautomation.ios.command.Handler#handle()