public static MultipartRequest getParsedInstance(HttpServletRequest request) throws IOException { MultipartRequest mreq = getInstance(request, null, null); if (mreq.isLoaded() == false) { mreq.parseRequest(); } return mreq; }
/** Returns parsed instance of MultipartRequest. */ public static MultipartRequest getParsedInstance( HttpServletRequest request, FileUploadFactory fileUploadFactory, String encoding) throws IOException { MultipartRequest mreq = getInstance(request, fileUploadFactory, encoding); if (mreq.isLoaded() == false) { mreq.parseRequest(); } return mreq; }