public class DefaultFirewallConfiguration extends Object implements FirewallConfiguration
Constructor and Description |
---|
DefaultFirewallConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addNonProxyHost(String host) |
void |
apply() |
URL |
getHost() |
List<String> |
getNonProxyHosts() |
String |
getNonProxyHostsAsString() |
String |
getPassword() |
String |
getUserName() |
boolean |
isAuthenticate() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
boolean |
setHost(String host,
String port) |
void |
setHost(URL host) |
void |
setNonProxyHosts(String nonProxyHosts) |
void |
setPassword(String password) |
void |
setUserName(String userName) |
public void apply()
apply
in interface FirewallConfiguration
public boolean isAuthenticate()
isAuthenticate
in interface FirewallConfiguration
public boolean isEnabled()
isEnabled
in interface FirewallConfiguration
public void setEnabled(boolean enabled)
setEnabled
in interface FirewallConfiguration
public URL getHost()
getHost
in interface FirewallConfiguration
public void setHost(URL host)
setHost
in interface FirewallConfiguration
public boolean setHost(String host, String port)
setHost
in interface FirewallConfiguration
public String getUserName()
getUserName
in interface FirewallConfiguration
public String getPassword()
getPassword
in interface FirewallConfiguration
public void setUserName(String userName)
setUserName
in interface FirewallConfiguration
public void setPassword(String password)
setPassword
in interface FirewallConfiguration
public List<String> getNonProxyHosts()
getNonProxyHosts
in interface FirewallConfiguration
public String getNonProxyHostsAsString()
getNonProxyHostsAsString
in interface FirewallConfiguration
public void setNonProxyHosts(String nonProxyHosts)
setNonProxyHosts
in interface FirewallConfiguration
public void addNonProxyHost(String host)
addNonProxyHost
in interface FirewallConfiguration