@RestController @RequestMapping(path="/router") public class RouterEndpoint extends Object
| 构造器和说明 |
|---|
RouterEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<?> |
info() |
org.springframework.http.ResponseEntity<?> |
route(String routeServiceId) |
org.springframework.http.ResponseEntity<?> |
route(String routeServiceId,
String routeProtocol,
String routeHost,
int routePort,
String routeContextPath) |
org.springframework.http.ResponseEntity<?> |
routes(String routeServiceIds) |
@RequestMapping(path="/info",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> info()
@RequestMapping(path="/route/{routeServiceId}",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> route(@PathVariable(value="routeServiceId")
String routeServiceId)
@RequestMapping(path="/route/{routeServiceId}/{routeProtocol}/{routeHost}/{routePort}/{routeContextPath}",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> route(@PathVariable(value="routeServiceId")
String routeServiceId,
@PathVariable(value="routeProtocol")
String routeProtocol,
@PathVariable(value="routeHost")
String routeHost,
@PathVariable(value="routePort")
int routePort,
@PathVariable(value="routeContextPath")
String routeContextPath)
@RequestMapping(path="/routes",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> routes(@RequestBody
String routeServiceIds)
Copyright © 2022 Nepxion. All rights reserved.