缓存策略增加导出excel和csv功能
This commit is contained in:
@@ -0,0 +1,159 @@
|
||||
/**
|
||||
*@Title: HttpDomainConfig.java
|
||||
*@Package com.nis.domain.restful
|
||||
*@Description TODO
|
||||
*@author dell
|
||||
*@date 2018年2月5日 下午5:33:05
|
||||
*@version 版本号
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
/**
|
||||
* @ClassName: HttpDomainConfig.java
|
||||
* @Description: TODO
|
||||
* @author (dell)
|
||||
* @date 2018年2月5日 下午5:33:05
|
||||
* @version V1.0
|
||||
*/
|
||||
public class CachePolicyUserRegion extends BaseCfg<CachePolicyUserRegion> {
|
||||
|
||||
private static final long serialVersionUID = -1741829305216502322L;
|
||||
|
||||
@ExcelField(title="cache_cookied_cont",dictType="CACHE_COOKIED_CONT",sort=7)
|
||||
private String cache_cookied_cont;
|
||||
@ExcelField(title="cache_dyn_url",dictType="CACHE_DYN_URL",sort=6)
|
||||
private String cache_dyn_url;
|
||||
@ExcelField(title="force_caching",dictType="FORCE_CACHING",sort=10)
|
||||
private String force_caching;
|
||||
@ExcelField(title="ignore_req_nocache",dictType="IGNORE_REQ_NOCACHE",sort=8)
|
||||
private String ignore_req_nocache;
|
||||
@ExcelField(title="ignore_res_nocache",dictType="IGNORE_RES_NOCACHE",sort=9)
|
||||
private String ignore_res_nocache;
|
||||
@ExcelField(title="inactive_time",sort=14)
|
||||
private String inactive_time;
|
||||
@ExcelField(title="max_cache_obj_size",sort=15)
|
||||
private String max_cache_obj_size;
|
||||
@ExcelField(title="max_cache_size",sort=13)
|
||||
private String max_cache_size;
|
||||
@ExcelField(title="min_use",sort=11)
|
||||
private String min_use;
|
||||
@ExcelField(title="no_revalidate",dictType="CACHE_NO_REVALIDATE",sort=5)
|
||||
private String no_revalidate;
|
||||
@ExcelField(title="pinning_time",dictType="",sort=12)
|
||||
private String pinning_time;
|
||||
@ExcelField(title="ignore_query_string",sort=3)
|
||||
private String ignore_qs;
|
||||
@ExcelField(title="include_cookie",sort=4)
|
||||
private String cookie;
|
||||
|
||||
private Map<String,String> cache_key;
|
||||
|
||||
private BaseStringCfg strCfg;
|
||||
|
||||
@ExcelField(title="action",sort=2)
|
||||
protected String actionCode;
|
||||
|
||||
|
||||
public String getActionCode() {
|
||||
return actionCode;
|
||||
}
|
||||
public void setActionCode(String actionCode) {
|
||||
this.actionCode = actionCode;
|
||||
}
|
||||
public BaseStringCfg getStrCfg() {
|
||||
return strCfg;
|
||||
}
|
||||
public void setStrCfg(BaseStringCfg strCfg) {
|
||||
this.strCfg = strCfg;
|
||||
}
|
||||
public Map<String, String> getCache_key() {
|
||||
return cache_key;
|
||||
}
|
||||
public void setCache_key(Map<String, String> cache_key) {
|
||||
this.cache_key = cache_key;
|
||||
}
|
||||
public String getIgnore_res_nocache() {
|
||||
return ignore_res_nocache;
|
||||
}
|
||||
public void setIgnore_res_nocache(String ignore_res_nocache) {
|
||||
this.ignore_res_nocache = ignore_res_nocache;
|
||||
}
|
||||
public String getCache_cookied_cont() {
|
||||
return cache_cookied_cont;
|
||||
}
|
||||
public void setCache_cookied_cont(String cache_cookied_cont) {
|
||||
this.cache_cookied_cont = cache_cookied_cont;
|
||||
}
|
||||
public String getCache_dyn_url() {
|
||||
return cache_dyn_url;
|
||||
}
|
||||
public void setCache_dyn_url(String cache_dyn_url) {
|
||||
this.cache_dyn_url = cache_dyn_url;
|
||||
}
|
||||
public String getForce_caching() {
|
||||
return force_caching;
|
||||
}
|
||||
public void setForce_caching(String force_caching) {
|
||||
this.force_caching = force_caching;
|
||||
}
|
||||
public String getIgnore_req_nocache() {
|
||||
return ignore_req_nocache;
|
||||
}
|
||||
public void setIgnore_req_nocache(String ignore_req_nocache) {
|
||||
this.ignore_req_nocache = ignore_req_nocache;
|
||||
}
|
||||
public String getInactive_time() {
|
||||
return inactive_time;
|
||||
}
|
||||
public void setInactive_time(String inactive_time) {
|
||||
this.inactive_time = inactive_time;
|
||||
}
|
||||
public String getMax_cache_obj_size() {
|
||||
return max_cache_obj_size;
|
||||
}
|
||||
public void setMax_cache_obj_size(String max_cache_obj_size) {
|
||||
this.max_cache_obj_size = max_cache_obj_size;
|
||||
}
|
||||
public String getMax_cache_size() {
|
||||
return max_cache_size;
|
||||
}
|
||||
public void setMax_cache_size(String max_cache_size) {
|
||||
this.max_cache_size = max_cache_size;
|
||||
}
|
||||
public String getMin_use() {
|
||||
return min_use;
|
||||
}
|
||||
public void setMin_use(String min_use) {
|
||||
this.min_use = min_use;
|
||||
}
|
||||
public String getNo_revalidate() {
|
||||
return no_revalidate;
|
||||
}
|
||||
public void setNo_revalidate(String no_revalidate) {
|
||||
this.no_revalidate = no_revalidate;
|
||||
}
|
||||
public String getPinning_time() {
|
||||
return pinning_time;
|
||||
}
|
||||
public void setPinning_time(String pinning_time) {
|
||||
this.pinning_time = pinning_time;
|
||||
}
|
||||
public String getIgnore_qs() {
|
||||
return ignore_qs;
|
||||
}
|
||||
public void setIgnore_qs(String ignore_qs) {
|
||||
this.ignore_qs = ignore_qs;
|
||||
}
|
||||
public String getCookie() {
|
||||
return cookie;
|
||||
}
|
||||
public void setCookie(String cookie) {
|
||||
this.cookie = cookie;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user