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

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

There is a newer version: 1.1.1
Show newest version
package cn.net.wanmo.common.http.jdk.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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy