Package com.googlecode.richrest.util

Examples of com.googlecode.richrest.util.UnmodifiableProperties


  private Client(Properties config, Transferrer transferrer) {
    if (config == null)
      throw new NullPointerException("properties == null!");
    if (transferrer == null)
      throw new NullPointerException("transferrer == null!");
    config = new UnmodifiableProperties(config);
    this.transferrer = transferrer;
    transferrer.init(this, config);
    addPropertyInfo(TRANSFERRER_KEY, "传输策略",
        "暂未实现传输策略动态切换,修改后不会生效!", HttpURLConnectionTransferrer.class
            .getName(), ServiceUtils.getServiceClassNames(
View Full Code Here


  /**
   * 获取所有配置项
   * @return 不可变配置集合
   */
  public Properties getProperties() {
    return new UnmodifiableProperties(values);
  }
View Full Code Here

TOP

Related Classes of com.googlecode.richrest.util.UnmodifiableProperties

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.