Package cn.baiweigang.qtaf.toolkit.httpclient

Examples of cn.baiweigang.qtaf.toolkit.httpclient.HttpUtil


    this.httpUrl = "";
    this.headersMap = new TreeMap<String, String>();
    this.urlParaMap = new LinkedHashMap<String, String>();
    this.formParaMap = new LinkedHashMap<String, String>();
    if (IftConf.ProxyEnable.equals("Y")) {
      sendRequestCore = new HttpUtil(IftConf.ProxyIp,IftConf.PROXY_PORT);
    } else {
      sendRequestCore = new HttpUtil();
    }
  }
View Full Code Here


    this.headersMap = new TreeMap<String, String>();
    this.urlParaMap = new LinkedHashMap<String, String>();
    this.formParaMap = new LinkedHashMap<String, String>();
    if (IftConf.ProxyEnable.equals("Y")) {
      log.info("已设置使用代理:"+IftConf.ProxyIp+":"+IftConf.PROXY_PORT);
      httpUtil = new HttpUtil(IftConf.ProxyIp,IftConf.PROXY_PORT);
    } else {
      log.info("未设置代理");
      httpUtil = new HttpUtil();
    }
  }
View Full Code Here

TOP

Related Classes of cn.baiweigang.qtaf.toolkit.httpclient.HttpUtil

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.