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