public static class ConsulConfig.ClientConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConsulConfig.ClientConfig.TimeoutConfig |
Constructor and Description |
---|
ClientConfig() |
public String getUrl()
public ConsulConfig.ClientConfig setUrl(String url)
public com.google.common.net.HostAndPort getHost()
public ConsulConfig.ClientConfig setHost(com.google.common.net.HostAndPort host)
public String getAclToken()
public ConsulConfig.ClientConfig setAclToken(String aclToken)
public boolean isPing()
public ConsulConfig.ClientConfig setPing(boolean ping)
public String getUser()
public ConsulConfig.ClientConfig setUser(String user)
public String getPassword()
public ConsulConfig.ClientConfig setPassword(String password)
public ConsulConfig.ClientConfig.TimeoutConfig getTimeouts()
public ConsulConfig.ClientConfig setTimeouts(ConsulConfig.ClientConfig.TimeoutConfig timeouts)
public Class<? extends com.orbitz.consul.util.bookend.ConsulBookend> getConsulBookend()
public ConsulConfig.ClientConfig setConsulBookend(Class<? extends com.orbitz.consul.util.bookend.ConsulBookend> consulBookend)
public Class<? extends ExecutorService> getExecutorService()
public ConsulConfig.ClientConfig setExecutorService(Class<? extends ExecutorService> executorService)
public Class<? extends HostnameVerifier> getHostnameVerifier()
public ConsulConfig.ClientConfig setHostnameVerifier(Class<? extends HostnameVerifier> hostnameVerifier)
public ConsulConfig.ClientConfig addHeader(String name, String value)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.