|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lobobrowser.settings.ConnectionSettings
public class ConnectionSettings
Connection settings. This is a singleton class
with an instance obtained by calling getInstance().
| Method Summary | |
|---|---|
java.net.InetSocketAddress |
getInetSocketAddress()
|
static ConnectionSettings |
getInstance()
Gets the class singleton. |
java.lang.String |
getPassword()
|
java.net.PasswordAuthentication |
getPasswordAuthentication()
|
java.net.Proxy |
getProxy(java.lang.String host)
Gets a non- null Proxy insteance. |
java.net.Proxy.Type |
getProxyType()
|
java.lang.String |
getUserName()
|
boolean |
isAuthenticated()
|
boolean |
isDisableProxyForLocalAddresses()
|
void |
restoreDefaults()
|
void |
save()
|
void |
setAuthenticated(boolean authenticated)
|
void |
setDisableProxyForLocalAddresses(boolean disableProxyForLocalAddresses)
|
void |
setInetSocketAddress(java.net.InetSocketAddress socketAddress)
|
void |
setPassword(java.lang.String password)
|
void |
setProxyType(java.net.Proxy.Type proxyType)
|
void |
setUserName(java.lang.String userName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void restoreDefaults()
public static ConnectionSettings getInstance()
public java.net.Proxy getProxy(java.lang.String host)
null Proxy insteance.
public java.net.PasswordAuthentication getPasswordAuthentication()
public boolean isAuthenticated()
public void setAuthenticated(boolean authenticated)
authenticated - The authenticated to set.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - The password to set.public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName - The userName to set.public java.net.Proxy.Type getProxyType()
public void setProxyType(java.net.Proxy.Type proxyType)
proxyType - The proxyType to set.public java.net.InetSocketAddress getInetSocketAddress()
public void setInetSocketAddress(java.net.InetSocketAddress socketAddress)
socketAddress - The socketAddress to set.public boolean isDisableProxyForLocalAddresses()
public void setDisableProxyForLocalAddresses(boolean disableProxyForLocalAddresses)
public void save()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||