@Immutable public class ProxyConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyConfiguration.ProxyType
Type of proxy this is.
|
| Modifier and Type | Method and Description |
|---|---|
static ProxyConfiguration |
automatic() |
boolean |
equals(Object object) |
String |
getHostname() |
int |
getPort() |
ProxyConfiguration.ProxyType |
getType() |
int |
hashCode() |
static ProxyConfiguration |
manualProxyOn(String host,
int port) |
static ProxyConfiguration |
noProxy() |
static ProxyConfiguration |
systemDefault() |
String |
toString() |
public static ProxyConfiguration noProxy()
ProxyConfiguration.ProxyType.NOTHINGpublic static ProxyConfiguration automatic()
public static ProxyConfiguration systemDefault()
public static ProxyConfiguration manualProxyOn(String host, int port)
ProxyConfiguration.ProxyType.MANUALpublic int getPort()
public String getHostname()
public ProxyConfiguration.ProxyType getType()
Copyright © 2007-2013. All Rights Reserved.