@RestController @RequestMapping(path="/sentinel-param") public class SentinelParamEndpoint extends Object
| 构造器和说明 |
|---|
SentinelParamEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<?> |
clearParamFlowRules() |
org.springframework.http.ResponseEntity<?> |
updateParamFlowRules(String rule) |
org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.flow.param.ParamFlowRule>> |
viewParamFlowRules() |
@RequestMapping(path="/update-param-flow-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateParamFlowRules(@RequestBody
String rule)
@RequestMapping(path="/clear-param-flow-rules",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> clearParamFlowRules()
@RequestMapping(path="/view-param-flow-rules",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<List<com.alibaba.csp.sentinel.slots.block.flow.param.ParamFlowRule>> viewParamFlowRules()
Copyright © 2020 Nepxion. All rights reserved.