public class SimpleAtomProxyConfig extends Object implements AtomProxyConfig
Constructor and Description |
---|
SimpleAtomProxyConfig() |
SimpleAtomProxyConfig(String proxyHost) |
SimpleAtomProxyConfig(String proxyHost,
String proxyPort) |
Modifier and Type | Method and Description |
---|---|
Iterable<String> |
getNonProxyHosts()
Getter for the non-proxy hosts.
|
String |
getNonProxyHostsString()
Getter for the "raw" string value of the non-proxy hosts config.
|
String |
getProxyHost()
Getter for the configured proxy host
|
String |
getProxyPassword()
Getter for the configured proxy password.
|
String |
getProxyPort()
Getter for the configured proxy port
|
String |
getProxyUser()
Getter for the configured proxy user
|
boolean |
isAuthenticationEnabled()
Indicates if authentication is required for this proxy.
|
boolean |
isProxyEnabled()
Indicates if a proxy has been configured for this container
|
SimpleAtomProxyConfig |
withNonProxyHosts(String nonProxyHosts)
Setter for configured non-proxy hosts
|
SimpleAtomProxyConfig |
withProxyPassword(String proxyPassword)
Setter for configured proxy password
|
SimpleAtomProxyConfig |
withProxyUser(String proxyUser)
Setter for configured proxy user
|
public SimpleAtomProxyConfig()
public SimpleAtomProxyConfig(String proxyHost)
public SimpleAtomProxyConfig withProxyUser(String proxyUser)
proxyUser
- Atom proxy user configuration valuepublic SimpleAtomProxyConfig withNonProxyHosts(String nonProxyHosts)
nonProxyHosts
- Atom non-proxy hosts configuration valuepublic SimpleAtomProxyConfig withProxyPassword(String proxyPassword)
proxyPassword
- Atom proxy password configuration valuepublic boolean isProxyEnabled()
AtomProxyConfig
isProxyEnabled
in interface AtomProxyConfig
public boolean isAuthenticationEnabled()
AtomProxyConfig
isAuthenticationEnabled
in interface AtomProxyConfig
public String getProxyHost()
AtomProxyConfig
getProxyHost
in interface AtomProxyConfig
public String getProxyPort()
AtomProxyConfig
getProxyPort
in interface AtomProxyConfig
public String getProxyUser()
AtomProxyConfig
getProxyUser
in interface AtomProxyConfig
public String getProxyPassword()
AtomProxyConfig
getProxyPassword
in interface AtomProxyConfig
public String getNonProxyHostsString()
AtomProxyConfig
getNonProxyHostsString
in interface AtomProxyConfig
public Iterable<String> getNonProxyHosts()
AtomProxyConfig
getNonProxyHosts
in interface AtomProxyConfig