cn.jiangzeyin.controller.base.AbstractMultipartFileBaseControl Maven / Gradle / Ivy
package cn.jiangzeyin.controller.base;
import cn.jiangzeyin.StringUtil;
import cn.jiangzeyin.common.request.ParameterXssWrapper;
import cn.jiangzeyin.controller.multipart.MultipartFileConfig;
import cn.jiangzeyin.util.FileUtil;
import cn.jiangzeyin.util.ReflectUtil;
import org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload;
import org.springframework.util.Assert;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Map;
/**
* 上传文件control
*
* @author jiangzeyin
* Created by jiangzeyin on 2017/2/13.
*/
public abstract class AbstractMultipartFileBaseControl extends AbstractBaseControl {
private static final ThreadLocal