Class ListenerController
- java.lang.Object
-
- com.alibaba.nacos.config.server.controller.ListenerController
-
@RestController @RequestMapping("/v1/cs/listener") public class ListenerController extends ObjectConfig longpolling- Author:
- Nacos
-
-
Constructor Summary
Constructors Constructor Description ListenerController(ConfigSubService configSubService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupkeyListenserStatusgetAllSubClientConfigByIp(String ip, boolean all, String tenant, int sampleTime, org.springframework.ui.ModelMap modelMap)获取客户端订阅配置信息
-
-
-
Constructor Detail
-
ListenerController
@Autowired public ListenerController(ConfigSubService configSubService)
-
-
Method Detail
-
getAllSubClientConfigByIp
@GetMapping public GroupkeyListenserStatus getAllSubClientConfigByIp(@RequestParam("ip") String ip, @RequestParam(value="all",required=false) boolean all, @RequestParam(value="tenant",required=false) String tenant, @RequestParam(value="sampleTime",required=false,defaultValue="1") int sampleTime, org.springframework.ui.ModelMap modelMap) throws Exception
获取客户端订阅配置信息- Throws:
Exception
-
-