
com.nntk.restplus.strategy.HttpExecuteContext Maven / Gradle / Ivy
package com.nntk.restplus.strategy;
import com.nntk.restplus.abs.AbsHttpFactory;
import java.io.File;
import java.util.Map;
public class HttpExecuteContext {
private String url;
private Map headerMap;
private Map bodyMap;
private AbsHttpFactory httpFactory;
public void setDownloadFilePath(File downloadFilePath) {
this.downloadFilePath = downloadFilePath;
}
public File getDownloadFilePath() {
return downloadFilePath;
}
private File downloadFilePath;
public boolean isDownload() {
return download;
}
public void setDownload(boolean download) {
this.download = download;
}
private boolean download = false;
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
private String contentType;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Map getHeaderMap() {
return headerMap;
}
public void setHeaderMap(Map headerMap) {
this.headerMap = headerMap;
}
public Map getBodyMap() {
return bodyMap;
}
public void setBodyMap(Map bodyMap) {
this.bodyMap = bodyMap;
}
public AbsHttpFactory getHttpFactory() {
return httpFactory;
}
public void setHttpFactory(AbsHttpFactory httpFactory) {
this.httpFactory = httpFactory;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy