docs: public void canUpload(String name, long fileSize) {
          URL url = UPLOAD_FILE_URL.build(this.getAPI().getBaseURL());
          BoxJSONRequest request = new BoxJSONRequest(this.getAPI(), url, "OPTIONS");
  
          JsonObject parent = new JsonObject();
          parent.add("id", this.getID());
  
          JsonObject preflightInfo = new JsonObject();
          preflightInfo.add("parent", parent);
          preflightInfo.add("name", name);
  
          preflightInfo.add("size", fileSize);
  
          request.setBody(preflightInfo.toString());
          BoxAPIResponse response = request.send();
          response.disconnect();
      }