public class NetworkProxyConfiguration extends Object implements Serializable
| Constructor and Description |
|---|
NetworkProxyConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getHost()
Get the proxy host.
|
String |
getId()
Get the ID for this proxy.
|
String |
getPassword()
Get the proxy password.
|
int |
getPort()
Get the proxy port.
|
String |
getProtocol()
Get the network protocol to use with this proxy: "http",
"socks-4".
|
String |
getUsername()
Get the proxy user.
|
int |
hashCode() |
boolean |
isUseNtlm()
Get use ntlm authentification.
|
void |
setHost(String host)
Set the proxy host.
|
void |
setId(String id)
Set the ID for this proxy.
|
void |
setPassword(String password)
Set the proxy password.
|
void |
setPort(int port)
Set the proxy port.
|
void |
setProtocol(String protocol)
Set the network protocol to use with this proxy: "http",
"socks-4".
|
void |
setUseNtlm(boolean useNtlm)
Set use ntlm authentification.
|
void |
setUsername(String username)
Set the proxy user.
|
public NetworkProxyConfiguration()
public String getPassword()
public int getPort()
public String getProtocol()
public String getUsername()
public boolean isUseNtlm()
public void setPassword(String password)
password - public void setPort(int port)
port - public void setProtocol(String protocol)
protocol - public void setUseNtlm(boolean useNtlm)
useNtlm - public void setUsername(String username)
username - Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.