public class SshProxyServerDetails
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SshProxyServerDetails.Type
Proxy sever type.
|
| Constructor and Description |
|---|
SshProxyServerDetails(SshProxyServerDetails.Type type,
java.lang.String hostname,
int port,
java.lang.String username,
char[] password)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHostname()
Get the proxy server hostname
|
char[] |
getPassword()
Get the password required to authenticate with the proxy server.
|
int |
getPort()
Get the proxy server port.
|
SshProxyServerDetails.Type |
getType()
Get the proxy server type.
|
java.lang.String |
getUsername()
Get the username required to authenticate with the proxy server.
|
void |
setHostname(java.lang.String hostname)
Set the proxy server hostname
|
void |
setPassword(char[] password)
Set the password required to authenticate with the proxy server.
|
void |
setPort(int port)
Set the proxy server port.
|
void |
setType(SshProxyServerDetails.Type type)
Set the proxy server type.
|
void |
setUsername(java.lang.String username)
Set the username required to authenticate with the proxy server.
|
public SshProxyServerDetails(SshProxyServerDetails.Type type, java.lang.String hostname, int port, java.lang.String username, char[] password)
type - typehostname - host name of proxy serverport - port on which proxy server is listeningusername - any username required (null for none)password - any password required (null for none)public SshProxyServerDetails.Type getType()
public void setType(SshProxyServerDetails.Type type)
type - typepublic java.lang.String getHostname()
public void setHostname(java.lang.String hostname)
hostname - proxy server hostnamepublic int getPort()
public void setPort(int port)
port - portpublic java.lang.String getUsername()
null.public void setUsername(java.lang.String username)
null.username - proxy server user namepublic char[] getPassword()
null.public void setPassword(char[] password)
null.password - proxy server passwordCopyright © 2018. All rights reserved.