Uses of Class
com.networknt.consul.ConsulService
-
Packages that use ConsulService Package Description com.networknt.consul com.networknt.consul.client -
-
Uses of ConsulService in com.networknt.consul
Methods in com.networknt.consul that return ConsulService Modifier and Type Method Description static ConsulService
ConsulUtils. buildService(URL url)
build consul service from urlMethods in com.networknt.consul with parameters of type ConsulService Modifier and Type Method Description static URL
ConsulUtils. buildUrl(String protocol, ConsulService service)
build url from service -
Uses of ConsulService in com.networknt.consul.client
Methods in com.networknt.consul.client that return types with arguments of type ConsulService Modifier and Type Method Description ConsulResponse<List<ConsulService>>
ConsulClient. lookupHealthService(String serviceName, String tag, long lastConsulIndex, String token)
get latest service list with a tag filter and a security tokenConsulResponse<List<ConsulService>>
ConsulClientImpl. lookupHealthService(String serviceName, String tag, long lastConsulIndex, String token)
to lookup health services based on serviceName, if lastConsulIndex == 0, will get result right away.Methods in com.networknt.consul.client with parameters of type ConsulService Modifier and Type Method Description void
ConsulClient. registerService(ConsulService service, String token)
register a consul servicevoid
ConsulClientImpl. registerService(ConsulService service, String token)
-