|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.root1.simon.SimonProxyConfig
public class SimonProxyConfig
A pojo class that holds information about the proxy configuration needed to establish a SIMON connection via a proxy server
Constructor Summary | |
---|---|
SimonProxyConfig(java.lang.String proxyHost,
int proxyPort,
boolean authRequired,
java.lang.String username,
java.lang.String password)
Constructor for the proxy config class. |
Method Summary | |
---|---|
java.lang.String |
getPassword()
Gets the password that was set for proxy authentication |
java.lang.String |
getProxyHost()
Returns the current set proxy host |
int |
getProxyPort()
Returns the current set port on which the proxy listens for incoming connections |
java.lang.String |
getUsername()
Gets the username that was set for proxy authentication |
boolean |
isAuthRequired()
Returns the current set "authentication required?" |
void |
setAuthRequired(boolean authRequired)
Sets whether the proxy needs authentication or not |
void |
setPassword(java.lang.String password)
Sets the password that is needed for proxy authentication |
void |
setProxyHost(java.lang.String proxyHost)
Sets the proxy host to connect to |
void |
setProxyPort(int proxyPort)
Sets the port on which the proxy listens for incoming connections |
void |
setUsername(java.lang.String username)
Sets the username that is needed for proxy authentication |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimonProxyConfig(java.lang.String proxyHost, int proxyPort, boolean authRequired, java.lang.String username, java.lang.String password)
proxyHost
- the proxy's hostproxyPort
- the proxy's portauthRequired
- does the proxy require an authentication?username
- username, if authentication is requiredpassword
- password, if authentication is requiredMethod Detail |
---|
public java.lang.String getProxyHost()
public void setProxyHost(java.lang.String proxyHost)
proxyHost
- the proxyHost to connect topublic int getProxyPort()
public void setProxyPort(int proxyPort)
proxyPort
- the proxy's portpublic boolean isAuthRequired()
public void setAuthRequired(boolean authRequired)
authRequired
- true, if auth. is required, false if notpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the username to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the password to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |