@Experimental public class ConnectionConfig extends Object
ConnectionConfig
which can be used where the various
connection properties should be set directly as opposed to being derived from another context
such as a Cache
. For example GeodeClusterManagementServiceConnectionConfig
.ClusterManagementServiceBuilder
Constructor and Description |
---|
ConnectionConfig() |
ConnectionConfig(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthToken() |
boolean |
getFollowRedirects() |
String |
getHost() |
HostnameVerifier |
getHostnameVerifier() |
String |
getPassword() |
int |
getPort() |
SSLContext |
getSslContext() |
String |
getUsername() |
ConnectionConfig |
setAuthToken(String authToken) |
ConnectionConfig |
setFollowRedirects(boolean followRedirects) |
protected void |
setHost(String host) |
ConnectionConfig |
setHostnameVerifier(HostnameVerifier hostnameVerifier) |
ConnectionConfig |
setPassword(String password) |
protected void |
setPort(int port) |
ConnectionConfig |
setSslContext(SSLContext sslContext) |
ConnectionConfig |
setUsername(String username) |
public ConnectionConfig()
public ConnectionConfig(String host, int port)
protected void setHost(String host)
protected void setPort(int port)
public String getHost()
public int getPort()
public String getAuthToken()
public ConnectionConfig setAuthToken(String authToken)
public ConnectionConfig setSslContext(SSLContext sslContext)
public SSLContext getSslContext()
public ConnectionConfig setUsername(String username)
public String getUsername()
public ConnectionConfig setPassword(String password)
public String getPassword()
public ConnectionConfig setHostnameVerifier(HostnameVerifier hostnameVerifier)
public HostnameVerifier getHostnameVerifier()
public ConnectionConfig setFollowRedirects(boolean followRedirects)
public boolean getFollowRedirects()