code: public void requestResource(List<ResourceRequestInfo> requestList) {
      if (deleted) {
        throw new RuntimeException("Session: " + sessionId +
            " has been deleted");
      }
  
      for (ResourceRequestInfo req : requestList) {
        boolean newRequest = idToRequest.put(req.getId(), req) == null;
        if (!newRequest) {
          LOG.warn("Duplicate request from Session: " + sessionId + "" +
              " request: " + req.getId());
          continue;
        }
  
        incrementRequestCount(req.getType(), 1);
        addPendingRequest(req);
        setTypeRequested(req.getType());
      }
    }
docs: Request a list of resources
  
  @param requestList List of resource requests