public class Proxy extends Object
| Constructor and Description |
|---|
Proxy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
Host value getter.
|
String |
getPassword()
Password value getter.
|
Integer |
getPort()
Port value getter.
|
ProxyProtocol |
getProtocol()
Protocol value getter.
|
String |
getUsername()
Username value getter.
|
boolean |
hasCredentials()
Check if it has credentials.
|
void |
setHost(String host)
Host value setter.
|
void |
setPassword(String password)
Password value setter.
|
void |
setPort(Integer port)
Port value setter.
|
void |
setProtocol(ProxyProtocol protocol)
Protocol value setter.
|
void |
setUsername(String username)
Username value setter.
|
public ProxyProtocol getProtocol()
public void setProtocol(ProxyProtocol protocol)
protocol - The new protocol value.public String getHost()
public void setHost(String host)
host - The new host value.public Integer getPort()
public void setPort(Integer port)
port - The new port value.public String getUsername()
public void setUsername(String username)
username - The new username value.public String getPassword()
public void setPassword(String password)
password - The new password value.public boolean hasCredentials()
Copyright © 2020. All rights reserved.