@RestController @RequestMapping(path="/service") public class ServiceEndpoint extends Object
| 构造器和说明 |
|---|
ServiceEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<?> |
discoveryType() |
org.springframework.http.ResponseEntity<?> |
gatewayList(List<String> gatewayTypes) |
org.springframework.http.ResponseEntity<?> |
gateways() |
org.springframework.http.ResponseEntity<?> |
group(String serviceId) |
org.springframework.http.ResponseEntity<?> |
groups() |
org.springframework.http.ResponseEntity<?> |
instanceList(String serviceId) |
org.springframework.http.ResponseEntity<?> |
instanceMap(List<String> groups) |
org.springframework.http.ResponseEntity<?> |
instances(String serviceId) |
org.springframework.http.ResponseEntity<?> |
serviceList(List<String> serviceTypes) |
org.springframework.http.ResponseEntity<?> |
services() |
@RequestMapping(path="/discovery-type",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> discoveryType()
@RequestMapping(path="/groups",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> groups()
@RequestMapping(path="/group/{serviceId}",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> group(@PathVariable(value="serviceId")
String serviceId)
@RequestMapping(path="/services",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> services()
@RequestMapping(path="/service-list",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> serviceList(@RequestBody
List<String> serviceTypes)
@RequestMapping(path="/gateways",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> gateways()
@RequestMapping(path="/gateway-list",
method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<?> gatewayList(@RequestBody
List<String> gatewayTypes)
@RequestMapping(path="/instances/{serviceId}",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> instances(@PathVariable(value="serviceId")
String serviceId)
@RequestMapping(path="/instance-list/{serviceId}",
method=GET)
@ResponseBody
public org.springframework.http.ResponseEntity<?> instanceList(@PathVariable(value="serviceId")
String serviceId)
Copyright © 2022 Nepxion. All rights reserved.