@Controller
@RequestMapping(value="/rest/system/config")
public class ConfigItemRestController
extends bap.core.controller.BaseController
ConfigItemRestController | Constructor and Description |
|---|
ConfigItemRestController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
flush()
功能描述:刷新内存中的配置项
|
org.springframework.http.ResponseEntity<java.lang.String> |
getAll()
功能描述:获取全部配置项
|
org.springframework.http.ResponseEntity<java.lang.String> |
put(java.lang.String name,
java.lang.String val)
功能描述:更新配置项
|
@RequestMapping(method=GET) public org.springframework.http.ResponseEntity<java.lang.String> getAll()
@RequestMapping(value="flush",
method=GET)
public org.springframework.http.ResponseEntity<java.lang.String> flush()
@RequestMapping(value="{id}",
method=PUT)
public org.springframework.http.ResponseEntity<java.lang.String> put(@RequestParam(value="name",required=false)
java.lang.String name,
@RequestParam(value="val",required=false)
java.lang.String val)
configItem -