@RestController @RequestMapping(path="/sentinel-core") public class SentinelCoreEndpoint extends Object
| 构造器和说明 |
|---|
SentinelCoreEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<?> |
clearAuthorityRules() |
org.springframework.http.ResponseEntity<?> |
clearDegradeRules() |
org.springframework.http.ResponseEntity<?> |
clearFlowRules() |
org.springframework.http.ResponseEntity<?> |
clearSystemRules() |
org.springframework.http.ResponseEntity<?> |
updateAuthorityRules(String rule) |
org.springframework.http.ResponseEntity<?> |
updateDegradeRules(String rule) |
org.springframework.http.ResponseEntity<?> |
updateFlowRules(String rule) |
org.springframework.http.ResponseEntity<?> |
updateSystemRules(String rule) |
org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> |
viewAuthorityRules() |
org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> |
viewDegradeRules() |
org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> |
viewFlowRules() |
org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> |
viewSystemRules() |
@RequestMapping(path="/update-flow-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateFlowRules(@RequestBody
String rule)
@RequestMapping(path="/clear-flow-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> clearFlowRules()
@RequestMapping(path="/view-flow-rules",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> viewFlowRules()
@RequestMapping(path="/update-degrade-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateDegradeRules(@RequestBody
String rule)
@RequestMapping(path="/clear-degrade-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> clearDegradeRules()
@RequestMapping(path="/view-degrade-rules",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> viewDegradeRules()
@RequestMapping(path="/update-authority-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateAuthorityRules(@RequestBody
String rule)
@RequestMapping(path="/clear-authority-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> clearAuthorityRules()
@RequestMapping(path="/view-authority-rules",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> viewAuthorityRules()
@RequestMapping(path="/update-system-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateSystemRules(@RequestBody
String rule)
@RequestMapping(path="/clear-system-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> clearSystemRules()
@RequestMapping(path="/view-system-rules",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> viewSystemRules()
Copyright © 2020 Nepxion. All rights reserved.