Class ProxyProperties
- java.lang.Object
-
- eu.europa.esig.dss.service.http.proxy.ProxyProperties
-
public class ProxyProperties extends Object
This class is a DTO which contains proxy properties for HTTP or HTTPS
-
-
Constructor Summary
Constructors Constructor Description ProxyProperties()
-
Method Summary
Modifier and Type Method Description StringgetExcludedHosts()Returns the excluded hosts (can be seperated by ',', ';' or ' ')StringgetHost()Returns the proxy host to useStringgetPassword()Returns the password to useintgetPort()Returns the port to useStringgetUser()Returns the user to usevoidsetExcludedHosts(String excludedHosts)Set the excluded hosts (can be seperated by ',', ';' or ' ')voidsetHost(String host)Set the proxy hostvoidsetPassword(String password)Set the proxy passwordvoidsetPort(int port)Set the proxy portvoidsetUser(String user)Set the proxy user
-
-
-
Method Detail
-
getHost
public String getHost()
Returns the proxy host to use- Returns:
- the proxy host
-
setHost
public void setHost(String host)
Set the proxy host- Parameters:
host- the host to use
-
getPort
public int getPort()
Returns the port to use- Returns:
- the proxy port
-
setPort
public void setPort(int port)
Set the proxy port- Parameters:
port- the port to use
-
getUser
public String getUser()
Returns the user to use- Returns:
- the proxy user
-
setUser
public void setUser(String user)
Set the proxy user- Parameters:
user- the user to use
-
getPassword
public String getPassword()
Returns the password to use- Returns:
- the proxy password
-
setPassword
public void setPassword(String password)
Set the proxy password- Parameters:
password- the password to use
-
getExcludedHosts
public String getExcludedHosts()
Returns the excluded hosts (can be seperated by ',', ';' or ' ')- Returns:
- the excluded hosts
-
setExcludedHosts
public void setExcludedHosts(String excludedHosts)
Set the excluded hosts (can be seperated by ',', ';' or ' ')- Parameters:
excludedHosts- the excluded hosts (can be seperated by ',', ';' or ' ')
-
-