top.jfunc.common.ftp.DownloadBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of network Show documentation
Show all versions of network Show documentation
http客户端请求工具类,有多种实现:OKHttp3、ApacheHttpClient、HttpURLConnection,可以随意切换http实现
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