All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zhengframework.rest.RestConfig Maven / Gradle / Ivy

package com.github.zhengframework.rest;

import com.github.zhengframework.configuration.ConfigurationDefine;
import com.github.zhengframework.configuration.annotation.ConfigurationInfo;
import java.util.HashMap;
import java.util.Map;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@ConfigurationInfo(prefix = "zheng.rest")
public class RestConfig implements ConfigurationDefine {

  public static final String PREFIX = "zheng.rest";
  private String path = null;

  private Map properties = new HashMap<>();

  public void addProperty(String key, String value) {
    properties.put(key, value);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy