/** * Consul client will connect to local consul agent on * 'http://localhost:8500' */ public ConsulClient() { this(new ConsulRawClient()); }
/** * Connect to consul agent on specific address and default port (8500) * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. * @param tlsConfig TLS configuration */ public ConsulClient(String agentHost, TLSConfig tlsConfig) { this(new ConsulRawClient(agentHost, tlsConfig)); }
/** * Connect to consul agent on specific address and port * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. * @param agentPort Consul agent port * @param tlsConfig TLS configuration */ public ConsulClient(String agentHost, int agentPort, TLSConfig tlsConfig) { this(new ConsulRawClient(agentHost, agentPort, tlsConfig)); }
/** * Consul client will connect to local consul agent on * 'http://localhost:8500' * * @param tlsConfig TLS configuration */ public ConsulClient(TLSConfig tlsConfig) { this(new ConsulRawClient(tlsConfig)); }
/** * Connect to consul agent on specific address and port * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. * @param agentPort Consul agent port * @param tlsConfig TLS configuration */ public ConsulClient(String agentHost, int agentPort, TLSConfig tlsConfig) { this(new ConsulRawClient(agentHost, agentPort, tlsConfig)); }
/** * Consul client will connect to local consul agent on * 'http://localhost:8500' */ public ConsulClient() { this(new ConsulRawClient()); }
/** * Consul client will connect to local consul agent on * 'http://localhost:8500' * * @param tlsConfig TLS configuration */ public ConsulClient(TLSConfig tlsConfig) { this(new ConsulRawClient(tlsConfig)); }
/** * Connect to consul agent on specific address and port * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. * @param agentPort Consul agent port */ public ConsulClient(String agentHost, int agentPort) { this(new ConsulRawClient(agentHost, agentPort)); }
/** * Connect to consul agent on specific address and default port (8500) * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. */ public ConsulClient(String agentHost) { this(new ConsulRawClient(agentHost)); }
/** * Connect to consul agent on specific address and default port (8500) * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. */ public ConsulClient(String agentHost) { this(new ConsulRawClient(agentHost)); }
/** * Connect to consul agent on specific address and default port (8500) * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. * @param tlsConfig TLS configuration */ public ConsulClient(String agentHost, TLSConfig tlsConfig) { this(new ConsulRawClient(agentHost, tlsConfig)); }
/** * Connect to consul agent on specific address and port * * @param agentHost Hostname or IP address of consul agent. You can specify scheme * (HTTP/HTTPS) in address. If there is no scheme in address - * client will use HTTP. * @param agentPort Consul agent port */ public ConsulClient(String agentHost, int agentPort) { this(new ConsulRawClient(agentHost, agentPort)); }
public KeyValueConsulClient(String agentHost, int agentPort) { this(new ConsulRawClient(agentHost, agentPort)); }
public EventConsulClient() { this(new ConsulRawClient()); }
public QueryConsulClient(String agentHost, TLSConfig tlsConfig) { this(new ConsulRawClient(agentHost, tlsConfig)); }
public SessionConsulClient(String agentHost, int agentPort) { this(new ConsulRawClient(agentHost, agentPort)); }
public HealthConsulClient(TLSConfig tlsConfig) { this(new ConsulRawClient(tlsConfig)); }
public HealthConsulClient(TLSConfig tlsConfig) { this(new ConsulRawClient(tlsConfig)); }
public HealthConsulClient(String agentHost, int agentPort) { this(new ConsulRawClient(agentHost, agentPort)); }
public KeyValueConsulClient(String agentHost) { this(new ConsulRawClient(agentHost)); }