docs: protected MultipartParsingResult parseRequest(ResourceRequest request) throws MultipartException {
          String encoding = determineEncoding(request);
          FileUpload fileUpload = prepareFileUpload(encoding);
          try {
              @SuppressWarnings("unchecked")
              List<FileItem> fileItems = ((Portlet2FileUpload) fileUpload).parseRequest(request);
              return parseFileItems(fileItems, encoding);
          } catch (FileUploadBase.SizeLimitExceededException ex) {
              throw new MaxUploadSizeExceededException(fileUpload.getSizeMax(), ex);
          } catch (FileUploadException ex) {
              throw new MultipartException("Could not parse multipart portlet request", ex);
          }
      }