public abstract class AbstractProxySettings extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
protected int |
port |
static String |
PROXY_ENV_VAR_NAME |
protected String |
uri |
protected String |
username |
| Constructor and Description |
|---|
AbstractProxySettings()
Defines proxy settings with the url in the environment variable
|
AbstractProxySettings(String uri)
Defines proxy settings with empty username/password.
|
AbstractProxySettings(String uri,
int port) |
AbstractProxySettings(String uri,
int port,
String username,
String password) |
AbstractProxySettings(String uri,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPassword() |
int |
getPort() |
String |
getUri() |
String |
getUsername() |
int |
hashCode() |
public static final String PROXY_ENV_VAR_NAME
protected String uri
protected String username
protected String password
protected int port
public AbstractProxySettings(String uri, int port, String username, String password)
uri - The proxy's URI.port - The proxy's portusername - The username to be sent to the proxy.password - The password to be sent to the proxy.public AbstractProxySettings(String uri, int port)
uri - The proxy's URI.port - The proxy's portpublic AbstractProxySettings(String uri, String username, String password)
uri - The proxy's URI.username - The username to be sent to the proxy.password - The password to be sent to the proxy.public AbstractProxySettings(String uri)
uri - The proxy's URI.public AbstractProxySettings()
Copyright © 2023. All rights reserved.