|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.proxy.sunproxy.InternetProxyInfo
public class InternetProxyInfo
A simple container for all of the system information about the HTTP proxy servers address.
Field Summary | |
---|---|
static int |
AUTO
|
static int |
MANUAL
|
static int |
NONE
|
Constructor Summary | |
---|---|
InternetProxyInfo()
|
Method Summary | |
---|---|
java.lang.String |
getAutoConfigURL()
|
java.lang.String |
getHTTPHost()
|
int |
getHTTPPort()
Returns the HTTP port number or -1, if this property hasn't been set. |
java.lang.String |
getInvalidHTTPHost()
|
int |
getInvalidHTTPPort()
|
java.lang.String[] |
getOverrides()
|
int |
getType()
One of MANUAL, AUTO, or NONE. |
boolean |
isValidAutoHTTPConfiguration()
If AUTO is set if we were able to determine the host. |
boolean |
isValidManualHTTPConfiguration()
Return true if the HTTP proxy address was configured manually and the port/server properties are valid. |
void |
setHTTPHost(java.lang.String httpHost)
|
void |
setHTTPPort(int httpPort)
|
void |
setOverrides(java.util.List overrides)
|
void |
setOverrides(java.lang.String[] overrides)
|
void |
setType(int type)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int MANUAL
public static final int AUTO
Constructor Detail |
---|
public InternetProxyInfo()
Method Detail |
---|
public int getType()
public void setType(int type)
public java.lang.String getHTTPHost()
public java.lang.String getInvalidHTTPHost()
public void setHTTPHost(java.lang.String httpHost)
public int getHTTPPort()
public void setHTTPPort(int httpPort)
public int getInvalidHTTPPort()
public java.lang.String[] getOverrides()
public void setOverrides(java.lang.String[] overrides)
public void setOverrides(java.util.List overrides)
public java.lang.String getAutoConfigURL()
public boolean isValidManualHTTPConfiguration()
public boolean isValidAutoHTTPConfiguration()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |