public class ProxySettings extends Object
LogFileManager.getProxySettings(String)
Modifier and Type | Field and Description |
---|---|
protected String |
host
Proxy host
|
protected String |
login
Proxy login
|
protected String |
passwd
Proxy password
|
protected int |
port
Proxy port
|
protected boolean |
useLogin
Flag to indicate if a login/password authentication shall be used
|
protected boolean |
useProxy
Flag to indicate if a Proxy shall be used
|
Constructor and Description |
---|
ProxySettings()
Default constructor
|
ProxySettings(boolean pUseProxy,
String pHost,
int pPort,
boolean pUseLogin,
String pLogin,
String pPasswd)
Constructs a proxy settings object, with given information
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Getter for attribute
host |
String |
getLogin()
Getter for attribute
login |
String |
getPasswd()
Getter for attribute
passwd |
int |
getPort()
Getter for attribute
port |
void |
setHost(String pHost)
Setter for attribute
host |
void |
setLogin(String pLogin)
Setter for attribute
login |
void |
setPasswd(String pPasswd)
Setter for attribute
passwd |
void |
setPort(int pPort)
Setter for attribute
port |
void |
setUseLogin(boolean pUseLogin)
Setter for attribute
useLogin |
void |
setUseProxy(boolean pUseProxy)
Setter for attribute
useProxy |
String |
toString()
Returns a
String representation of this object |
boolean |
useLogin()
Getter for attribute
useLogin |
boolean |
useProxy()
Getter for attribute
useProxy |
protected boolean useProxy
protected String host
protected int port
protected boolean useLogin
protected String login
protected String passwd
public ProxySettings()
public ProxySettings(boolean pUseProxy, String pHost, int pPort, boolean pUseLogin, String pLogin, String pPasswd)
pUseProxy
- Flag to indicate if a Proxy shall be usedpHost
- Proxy hostpPort
- Proxy portpUseLogin
- Flag to indicate if a login/password authentication shall be usedpLogin
- Proxy loginpPasswd
- Proxy passwordpublic String toString()
String
representation of this objecttoString
in class Object
Object.toString()
public boolean useProxy()
useProxy
useProxy
public void setUseProxy(boolean pUseProxy)
useProxy
pUseProxy
- New value for attribute useProxy
public void setHost(String pHost)
host
pHost
- New value for attribute host
public void setPort(int pPort)
port
pPort
- New value for attribute port
public boolean useLogin()
useLogin
useLogin
public void setUseLogin(boolean pUseLogin)
useLogin
pUseLogin
- New value for attribute useLogin
public void setLogin(String pLogin)
login
pLogin
- New value for attribute login
Copyright © 2025 LightySoft. All rights reserved. [LogMX v8.4.0 (Jan 3, 2025)]