public class ProxySettings extends Object
SaltClient
.Constructor and Description |
---|
ProxySettings(String hostname,
int port)
Basic constructor taking proxy hostname and port.
|
ProxySettings(String hostname,
int port,
String username,
String password)
Extended constructor supporting proxies with authentication.
|
Modifier and Type | Method and Description |
---|---|
String |
getHostname() |
String |
getPassword() |
int |
getPort() |
String |
getUsername() |
void |
setHostname(String hostname) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setUsername(String username) |
public ProxySettings(String hostname, int port)
hostname
- proxy hostnameport
- proxy portpublic String getHostname()
public void setHostname(String hostname)
hostname
- the hostname to setpublic int getPort()
public void setPort(int port)
port
- the port to setpublic String getUsername()
public void setUsername(String username)
username
- the username to setpublic String getPassword()
public void setPassword(String password)
password
- the password to setCopyright © 2016. All rights reserved.