code: public BoxFileUploadSession.Info getStatus() {
          URL statusURL = this.sessionInfo.getSessionEndpoints().getStatusEndpoint();
          BoxJSONRequest request = new BoxJSONRequest(this.getAPI(), statusURL, HttpMethod.GET);
          BoxJSONResponse response = (BoxJSONResponse) request.send();
          JsonObject jsonObject = JsonObject.readFrom(response.getJSON());
  
          this.sessionInfo.update(jsonObject);
  
          return this.sessionInfo;
      }
docs: Get the status of the upload session. It contains the number of parts that are processed so far,
  the total number of parts required for the commit and expiration date and time of the upload session.
  @return the status.