@RestController @RequestMapping(path="/zuul-route") public class ZuulStrategyRouteEndpoint extends Object
| 构造器和说明 |
|---|
ZuulStrategyRouteEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<?> |
add(com.nepxion.discovery.common.entity.ZuulStrategyRouteEntity zuulStrategyRouteEntity) |
org.springframework.http.ResponseEntity<?> |
delete(String routeId) |
org.springframework.http.ResponseEntity<?> |
modify(com.nepxion.discovery.common.entity.ZuulStrategyRouteEntity zuulStrategyRouteEntity) |
org.springframework.http.ResponseEntity<?> |
updateAll(List<com.nepxion.discovery.common.entity.ZuulStrategyRouteEntity> zuulStrategyRouteEntityList) |
org.springframework.http.ResponseEntity<?> |
view(String routeId) |
org.springframework.http.ResponseEntity<?> |
viewAll() |
@RequestMapping(path="/add",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> add(@RequestBody
com.nepxion.discovery.common.entity.ZuulStrategyRouteEntity zuulStrategyRouteEntity)
@RequestMapping(path="/modify",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> modify(@RequestBody
com.nepxion.discovery.common.entity.ZuulStrategyRouteEntity zuulStrategyRouteEntity)
@RequestMapping(path="/delete/{routeId}",
method=DELETE)
@ResponseBody
public org.springframework.http.ResponseEntity<?> delete(@PathVariable(value="routeId")
String routeId)
@RequestMapping(path="/update-all",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> updateAll(@RequestBody
List<com.nepxion.discovery.common.entity.ZuulStrategyRouteEntity> zuulStrategyRouteEntityList)
@RequestMapping(path="/view/{routeId}",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> view(@PathVariable(value="routeId")
String routeId)
@RequestMapping(path="/view-all",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> viewAll()
Copyright © 2022 Nepxion. All rights reserved.