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

cn.net.wanmo.common.http.pojo.UploadInfo Maven / Gradle / Ivy

There is a newer version: 1.3.9
Show newest version
package cn.net.wanmo.common.http.pojo;

import cn.net.wanmo.common.util.IdGen;

/**
 * 文件上传的请求数据
 */
public class UploadInfo {
    /** 数据分隔线 */
    private String boundary;
    /** 请求体 */
    private String reqBody;


    public UploadInfo() {
        this.boundary = "------WebKitFormBoundary" + IdGen.uuid();
    }

    public String getBoundary() {
        return boundary;
    }

    public void setBoundary(String boundary) {
        this.boundary = boundary;
    }

    public String getReqBody() {
        return reqBody;
    }

    public void setReqBody(String reqBody) {
        this.reqBody = reqBody;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy