- <init>
Constructor from URI. The datacenter and the acl token can be defined in the
query; the scheme will
- setPort
Set Consul HTTP API port. Defaults to `8500`
- setAclToken
Set the ACL token. When provided, the client will use this token when making
requests to the Consul
- setDc
Set the datacenter name. When provided, the client will use it when making
requests to the Consul by
- setHost
Set Consul host. Defaults to `localhost`
- getAclToken
Get the ACL token.
- getDc
Get the datacenter name
- getHost
Get Consul host.
- getPort
Get Consul HTTP API port.
- getTimeout
Get timeout in milliseconds
- setSsl
Set whether SSL/TLS is enabled
- setTimeout
Sets the amount of time (in milliseconds) after which if the request does not
return any data within