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 String
getExcludedHosts()
Returns the excluded hosts (can be seperated by ',', ';' or ' ')String
getHost()
Returns the proxy host to useString
getPassword()
Returns the password to useint
getPort()
Returns the port to useString
getUser()
Returns the user to usevoid
setExcludedHosts(String excludedHosts)
Set the excluded hosts (can be seperated by ',', ';' or ' ')void
setHost(String host)
Set the proxy hostvoid
setPassword(String password)
Set the proxy passwordvoid
setPort(int port)
Set the proxy portvoid
setUser(String user)
Set the proxy user
-
Constructor Details
-
ProxyProperties
public ProxyProperties()
-
-
Method Details
-
getHost
Returns the proxy host to use- Returns:
- the proxy host
-
setHost
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
Returns the user to use- Returns:
- the proxy user
-
setUser
Set the proxy user- Parameters:
user
- the user to use
-
getPassword
Returns the password to use- Returns:
- the proxy password
-
setPassword
Set the proxy password- Parameters:
password
- the password to use
-
getExcludedHosts
Returns the excluded hosts (can be seperated by ',', ';' or ' ')- Returns:
- the excluded hosts
-
setExcludedHosts
Set the excluded hosts (can be seperated by ',', ';' or ' ')- Parameters:
excludedHosts
- the excluded hosts (can be seperated by ',', ';' or ' ')
-