All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.xiaoyuge5201.StaticFileRequestVO Maven / Gradle / Ivy

package com.github.xiaoyuge5201;

/**
 * @author xiaoyuge
 * 静态文件请求类
 * 为了以防项目中增加了XSS攻击拦截,导致写入文件出错
 * 使用对象跳过这个拦截
 */
public class StaticFileRequestVO {
    /**
     * 文件路径
     */
    private String filePath;
    /**
     * 文件内容
     */
    private String content;

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy