Class ProxyProperties
java.lang.Object
eu.europa.esig.dss.service.http.proxy.ProxyProperties
- All Implemented Interfaces:
Serializable
This class is a DTO which contains proxy properties for HTTP or HTTPS
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a collection of hosts to be excludedgetHost()Returns the proxy host to usechar[]Returns the password to useintgetPort()Returns the port to useGets the host connection schemegetUser()Returns the user to usevoidsetExcludedHosts(Collection<String> excludedHosts) Sets a collection of hosts (URLs) to be excluded from the proxy configurationvoidSet the proxy hostvoidsetPassword(char[] password) Set the proxy passwordvoidsetPort(int port) Set the proxy portvoidSets the host connection scheme (e.g.voidSet the proxy user
-
Constructor Details
-
ProxyProperties
public ProxyProperties()Default constructor with null values
-
-
Method Details
-
getHost
-
setHost
-
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
-
setUser
-
getPassword
public char[] getPassword()Returns the password to use- Returns:
- the proxy password
-
setPassword
public void setPassword(char[] password) Set the proxy password- Parameters:
password- the password to use
-
getScheme
-
setScheme
-
getExcludedHosts
Gets a collection of hosts to be excluded- Returns:
- a collection of
Strings
-
setExcludedHosts
Sets a collection of hosts (URLs) to be excluded from the proxy configuration- Parameters:
excludedHosts- a collection of hosts URLs to exclude
-