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
-
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 ' ')
-