public class ProxySettings extends Object
Modifier and Type | Field and Description |
---|---|
static ProxySettings |
INSTANCE |
Constructor and Description |
---|
ProxySettings() |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getUsername() |
static void |
setProxySettings(String host,
int port,
String username,
String password)
Set the actual proxy settings
|
boolean |
useProxy() |
public static final ProxySettings INSTANCE
public static void setProxySettings(String host, int port, String username, String password)
host
- the proy hostport
- the proxy portusername
- the proxy username (if needed)password
- the proxy password (if needed)public String getHost()
public int getPort()
public String getUsername()
public String getPassword()
public boolean useProxy()
Copyright © 2012–2018 tinyMediaManager. All rights reserved.