public class ProxySettings extends Object
Constructor and Description |
---|
ProxySettings(String proxyHost,
int proxyPort,
String proxyUsername,
String proxyPassword)
Constructs a ProxySettings object with the specified proxy host, port, username, and password.
|
Modifier and Type | Method and Description |
---|---|
String |
getProxyHost()
Returns the proxy host.
|
String |
getProxyPassword()
Returns the proxy password.
|
int |
getProxyPort()
Returns the proxy port.
|
String |
getProxyUsername()
Returns the proxy username.
|
public ProxySettings(String proxyHost, int proxyPort, String proxyUsername, String proxyPassword)
proxyHost
- the hostname or IP address of the proxy serverproxyPort
- the port number on which the proxy server is listeningproxyUsername
- the username for authentication with the proxy server (can be null if no authentication is required)proxyPassword
- the password for authentication with the proxy server (can be null if no authentication is required)public String getProxyHost()
public int getProxyPort()
public String getProxyUsername()
public String getProxyPassword()
Copyright © 2005–2024 Onix Solutions. All rights reserved.