public class NetworkProxy extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
host
The proxy host.
|
private String |
id |
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 |
private String |
username
The proxy user.
|
Constructor and Description |
---|
NetworkProxy() |
NetworkProxy(String id,
String protocol,
String host,
int port,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHost() |
String |
getId() |
String |
getPassword() |
int |
getPort() |
String |
getProtocol() |
String |
getUsername() |
int |
hashCode() |
boolean |
isUseNtlm() |
void |
setHost(String host) |
void |
setId(String id) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
void |
setUseNtlm(boolean useNtlm) |
void |
setUsername(String username) |
String |
toString() |
private int port
private boolean useNtlm
public NetworkProxy()
public String getProtocol()
public void setProtocol(String protocol)
public int getPort()
public void setPort(int port)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public boolean isUseNtlm()
public void setUseNtlm(boolean useNtlm)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.