Class ListenerController


  • @RestController
    @RequestMapping("/v1/cs/listener")
    public class ListenerController
    extends Object
    Config longpolling
    Author:
    Nacos
    • 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