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

top.jfunc.common.ftp.DownloadBean Maven / Gradle / Ivy

Go to download

http客户端请求工具类,有多种实现:OKHttp3、ApacheHttpClient、HttpURLConnection,可以随意切换http实现

There is a newer version: 1.8.2.0
Show newest version
package top.jfunc.common.ftp;

/**
 * @author xiongshiyan at 2018/4/8
 */
public class DownloadBean {
    private String remotePath;
    private String remoteFileName;
    private String localFileName;

    public DownloadBean() {
    }

    public DownloadBean(String remotePath, String remoteFileName, String localFileName) {
        this.remotePath = remotePath;
        this.remoteFileName = remoteFileName;
        this.localFileName = localFileName;
    }

    public String getRemotePath() {
        return remotePath;
    }

    public DownloadBean setRemotePath(String remotePath) {
        this.remotePath = remotePath;
        return this;
    }

    public String getRemoteFileName() {
        return remoteFileName;
    }

    public DownloadBean setRemoteFileName(String remoteFileName) {
        this.remoteFileName = remoteFileName;
        return this;
    }

    public String getLocalFileName() {
        return localFileName;
    }

    public DownloadBean setLocalFileName(String localFileName) {
        this.localFileName = localFileName;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy