定义静态map
public final static Map<String, String> header = new HashMap<String, String>();
static {
header.put("Accept-Encoding", "gzip, deflate");
header.put("Accept-Language", "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2");
header.put("Cache-Control", "max-age=0");
header.put("Cookie", "eCM1_5408_saltkey=Z6Sdvgri; eC…-8b23-ed947885e286-1531456912");
header.put("Upgrade-Insecure-Requests", "1");
header.put("User-Agent", "Mozilla/5.0 (Windows NT 10.0; …) Gecko/20100101 Firefox/60.0");
header.put("Connection", "close");
}