public class NetworkProxyConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
host
The proxy host.
|
private String |
id
The ID for this proxy.
|
private String |
password
The proxy password.
|
private int |
port
The proxy port.
|
private String |
protocol
The network protocol to use with this proxy:
"http", "socks-4"
.
|
private boolean |
useNtlm
Use ntlm authentification.
|
private String |
username
The proxy user.
|
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.
|
private int port
private boolean useNtlm
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–2022 The Apache Software Foundation. All rights reserved.