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

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

            this.reset();
        }