@RestController @RequestMapping(path="/config") public class ConfigEndpoint extends Object
| 构造器和说明 |
|---|
ConfigEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<?> |
clearAsync() |
org.springframework.http.ResponseEntity<?> |
clearSync() |
protected org.springframework.http.ResponseEntity<String> |
toExceptionResponseEntity(Exception e,
boolean showDetail) |
org.springframework.http.ResponseEntity<?> |
updateAsync(String config) |
org.springframework.http.ResponseEntity<?> |
updateSync(String config) |
org.springframework.http.ResponseEntity<List<String>> |
view() |
@RequestMapping(path="/update-async",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateAsync(@RequestBody
String config)
@RequestMapping(path="/update-sync",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateSync(@RequestBody
String config)
@RequestMapping(path="/clear-async",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> clearAsync()
@RequestMapping(path="/clear-sync",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> clearSync()
@RequestMapping(path="/view",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<List<String>> view()
Copyright © 2020 Nepxion. All rights reserved.