|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.feednread.backend.configuration.ProxyServerSettings
Holds the settings of a proxy server for all online connections established
by the
ConnectionManager.
| Field Summary | |
private String |
address
The url of the proxy server |
private boolean |
enabled
The enabled status of the proxy server. |
private String |
login
The login for authentication |
private String |
password
The password for authentication |
private int |
port
The port of the proxy server (0 - 65536) |
| Constructor Summary | |
ProxyServerSettings()
Creates a new ProxyServerSettings instance.
|
|
ProxyServerSettings(String address,
int port)
Creates a new ProxyServerSettings instance.
|
|
ProxyServerSettings(String address,
int port,
String login,
String password)
Creates a new ProxyServerSettings instance.
|
|
| Method Summary | |
String |
getAddress()
Gets the address of the proxy server. |
String |
getLogin()
Gets the login used for authentication at the proxy server. |
String |
getPassword()
Gets the password used for authentication at the proxy server. |
int |
getPort()
Gets the port of the proxy server. |
boolean |
isEnabled()
Gets the enabled status of the configured proxy server. |
void |
setAddress(String address)
Sets the address of the proxy server. |
void |
setEnabled(boolean enabled)
Sets the enabled status of the configured proxy server. |
void |
setLogin(String login)
Sets the login used for authentication at the proxy server. |
void |
setPassword(String password)
Sets the password used for authentication at the proxy server. |
void |
setPort(int port)
Sets the port of the proxy server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String address
The url of the proxy server
private int port
The port of the proxy server (0 - 65536)
private String login
The login for authentication
private String password
The password for authentication
private boolean enabled
The enabled status of the proxy server. true if enabled;
false if disabled
| Constructor Detail |
public ProxyServerSettings(String address,
int port,
String login,
String password)
Creates a new ProxyServerSettings instance.
address - the address of the proxy serverport - the port of the proxy serverlogin - the login for authentication at the proxy serverpassword - the password for authentication at the proxy server
public ProxyServerSettings(String address,
int port)
Creates a new ProxyServerSettings instance.
address - the address of the proxy serverport - the port of the proxy serverpublic ProxyServerSettings()
Creates a new ProxyServerSettings instance.
This is the default constructor which uses empty settings.
| Method Detail |
public String getAddress()
Gets the address of the proxy server.
setAddress(String)public void setAddress(String address)
Sets the address of the proxy server.
address - the address of the proxy servergetAddress()public int getPort()
Gets the port of the proxy server.
setPort(int)public void setPort(int port)
Sets the port of the proxy server.
port - the port of the proxy servergetPort()public String getLogin()
Gets the login used for authentication at the proxy server.
setLogin(String)public void setLogin(String login)
Sets the login used for authentication at the proxy server.
login - the login used for authentication at the proxy servergetLogin()public String getPassword()
Gets the password used for authentication at the proxy server.
setPassword(String)public void setPassword(String password)
Sets the password used for authentication at the proxy server.
password - the password used for authentication at the proxy servergetPassword()public boolean isEnabled()
Gets the enabled status of the configured proxy server.
true if proxy server usage is enabled;
false
public void setEnabled(boolean enabled)