MultipartRequestParser requestParser = new MultipartRequestParser(request, createTempFiles, tempFilesDirectory,
progressControl);
multipartRequest = new MultipartRequest25(request, uploadId, progressControl, requestParser);
} else {
multipartRequest = new MultipartRequestSizeExceeded(request, uploadId, progressControl);
}
request.setAttribute(MultipartRequest.REQUEST_ATTRIBUTE_NAME, multipartRequest);
return multipartRequest;