Exemple #1
0
        protected PhalApiClient()
        {
            this.host   = "";
            this.parser = new PhalApiClientParserJson();

            this.reset();
        }
Exemple #2
0
 /**
  * 设置结果解析器,仅当不是JSON返回格式时才需要设置
  * @param PhalApiClientParser parser 结果解析器
  * @return PhalApiClient
  */
 public PhalApiClient withParser(PhalApiClientParser parser)
 {
     this.parser = parser;
     return(this);
 }
Exemple #3
0
 /**
  * 设置结果解析器,仅当不是JSON返回格式时才需要设置
  * @param PhalApiClientParser parser 结果解析器
  * @return PhalApiClient
  */
 public PhalApiClient withParser(PhalApiClientParser parser) {
     this.parser = parser;
     return this;
 }
Exemple #4
0
        protected PhalApiClient() {
    	    this.host = "";
            this.parser = new PhalApiClientParserJson();

            this.reset();
        }