public class Proxy extends IdentifiableBase implements Serializable, Cloneable
<proxy>
element contains
informations required to a proxy settings.GLOBAL_LEVEL, USER_LEVEL
Constructor and Description |
---|
Proxy() |
Modifier and Type | Method and Description |
---|---|
Proxy |
clone()
Method clone.
|
String |
getHost()
Get the proxy host.
|
String |
getNonProxyHosts()
Get the list of non-proxied hosts (delimited by |).
|
String |
getPassword()
Get the proxy password.
|
int |
getPort()
Get the proxy port.
|
String |
getProtocol()
Get the proxy protocol.
|
String |
getUsername()
Get the proxy user.
|
boolean |
isActive()
Get whether this proxy configuration is the active one.
|
void |
setActive(boolean active)
Set whether this proxy configuration is the active one.
|
void |
setHost(String host)
Set the proxy host.
|
void |
setNonProxyHosts(String nonProxyHosts)
Set the list of non-proxied hosts (delimited by |).
|
void |
setPassword(String password)
Set the proxy password.
|
void |
setPort(int port)
Set the proxy port.
|
void |
setProtocol(String protocol)
Set the proxy protocol.
|
void |
setUsername(String username)
Set the proxy user.
|
getId, setId
getSourceLevel, setSourceLevel
public Proxy()
public Proxy clone()
clone
in class IdentifiableBase
public String getNonProxyHosts()
public String getPassword()
public int getPort()
public String getProtocol()
public String getUsername()
public boolean isActive()
public void setActive(boolean active)
active
- public void setNonProxyHosts(String nonProxyHosts)
nonProxyHosts
- public void setPassword(String password)
password
- public void setPort(int port)
port
- public void setProtocol(String protocol)
protocol
- public void setUsername(String username)
username
- Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.