}
} else {
boolean createTempFiles = isCreateTempFiles(request.getServletContext());
String tempFilesDirectory = getTempFilesDirectory(request.getServletContext());
MultipartRequestParser requestParser = new MultipartRequestParser(request, createTempFiles, tempFilesDirectory);
MultipartRequest multipartRequest = new MultipartRequest25(request, uploadId, requestParser);
files = (List<UploadedFile>) multipartRequest.getUploadedFiles();
}
return files;
} catch (Exception e) {
context.setResponseStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
throw new FileUploadException("couldn't parse request parts", e);