public static MultipartRequest getInstance(final HttpServletRequest request, final FileUploadFactory fileUploadFactory, final String encoding) throws IOException {
		MultipartRequest mreq = (MultipartRequest) request.getAttribute(MREQ_ATTR_NAME);
		if (mreq == null) {
			mreq = new MultipartRequest(request, fileUploadFactory, encoding);
			request.setAttribute(MREQ_ATTR_NAME, mreq);
		}
		if (!mreq.isParsed()) {
			mreq.parseRequest();
		}
		return mreq;
	}
public static MultipartRequest getInstance ( final HttpServletRequest request , final FileUploadFactory fileUploadFactory , final String encoding ) throws IOException { MultipartRequest mreq = ( MultipartRequest ) request . getAttribute ( MREQ_ATTR_NAME ) ; if ( mreq == null ) { mreq = new MultipartRequest ( request , fileUploadFactory , encoding ) ; request . setAttribute ( MREQ_ATTR_NAME , mreq ) ; } if ( ! mreq . isParsed ( ) ) { mreq . parseRequest ( ) ; } return mreq ; }
Returns new or existing instance of <code>MultipartRequest</code>.