cn.net.wanmo.common.http.pojo.UploadInfo Maven / Gradle / Ivy
package cn.net.wanmo.common.http.pojo;
import cn.net.wanmo.common.util.IdGen;
import java.io.Serializable;
/**
* 文件上传的请求数据
*/
public class UploadInfo implements Serializable {
/** 数据分隔线 */
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;
}
}