|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.ie.proxy.ProxyConfiguration
| Nested Class Summary | |
static interface |
ProxyConfiguration.ConnectionType
Contains the connections type constants. |
static interface |
ProxyConfiguration.ServerType
Contains the server type constants. |
static interface |
ProxyConfiguration.Type
Contains the proxy configuration types. |
| Constructor Summary | |
ProxyConfiguration()
|
|
| Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getAutoconfigProxyAddress()
Returns a string that represents a path to the script that contains proxy configuration. |
int |
getConnectionType()
Returns a connection type for the current proxy configuration. |
java.lang.String |
getPassword(int serverType)
Returns a string that represents password for a specified server type. |
java.lang.String |
getProxy(int serverType)
Returns proxy address for a specified server type. |
java.util.Set |
getProxyExceptions()
Returns a set of strings that represent proxy exceptions. |
java.lang.String |
getUserName(int serverType)
Returns a string that represents user name for a specified server type. |
boolean |
isIgnoreProxyForLocalAddresses()
Returns TRUE if local addresses are ignored by proxy server,
otherwise - FALSE. |
void |
setAutoconfigProxyAddress(java.lang.String address)
Sets a string that represents a path to the script that contains proxy configuration. |
void |
setConnectionType(int type)
Sets a specified connection type for the current proxy configuration. |
void |
setIgnoreProxyForLocalAddresses(boolean ignore)
Enables or disables ignoring proxy server for local addresses. |
void |
setPassowrd(java.lang.String password,
int serverType)
Sets password for a specified server type. |
void |
setProxy(java.lang.String proxyAddress,
int serverType)
Sets proxy address for a specified server type. |
void |
setProxyExceptions(java.util.Set exceptions)
Sets a set of strings that represent proxy exceptions. |
void |
setUserName(java.lang.String userName,
int serverType)
Sets a user name for a specified server type. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProxyConfiguration()
| Method Detail |
public void setProxy(java.lang.String proxyAddress,
int serverType)
proxyAddress - a string in the following format: "address:port".
For example: 127.0.0.1:8081serverType - specified server type.
One of the following values:
ProxyConfiguration.ServerType.HTTP,
ProxyConfiguration.ServerType.FTP,
ProxyConfiguration.ServerType.SECURE,
ProxyConfiguration.ServerType.SOCKS or
ProxyConfiguration.ServerType.GOPHERpublic java.lang.String getProxy(int serverType)
serverType - specified server type.
One of the following values:
ProxyConfiguration.ServerType.HTTP,
ProxyConfiguration.ServerType.FTP,
ProxyConfiguration.ServerType.SECURE,
ProxyConfiguration.ServerType.SOCKS or
ProxyConfiguration.ServerType.GOPHER
public void setUserName(java.lang.String userName,
int serverType)
ProxyConfiguration.ServerType.HTTP server
type. In other cases this method will throw the
IllegalArgumentException error.
userName - a string that represents user name.serverType - specified server type. At presents supports only
ProxyConfiguration.ServerType.HTTP
server type.
java.lang.IllegalArgumentException - when the serverType isn't equals to
ProxyConfiguration.ServerType.HTTP
value.public java.lang.String getUserName(int serverType)
serverType - specified server type.
One of the following values:
ProxyConfiguration.ServerType.HTTP,
ProxyConfiguration.ServerType.FTP,
ProxyConfiguration.ServerType.SECURE,
ProxyConfiguration.ServerType.SOCKS or
ProxyConfiguration.ServerType.GOPHER
public void setPassowrd(java.lang.String password,
int serverType)
ProxyConfiguration.ServerType.HTTP server
type. In other cases this method will throw the
IllegalArgumentException error.
password - a string that represents password.serverType - specified server type. At presents supports only
ProxyConfiguration.ServerType.HTTP
server type.
java.lang.IllegalArgumentException - when the serverType isn't equals to
ProxyConfiguration.ServerType.HTTP
value.public java.lang.String getPassword(int serverType)
serverType - specified server type.
One of the following values:
ProxyConfiguration.ServerType.HTTP,
ProxyConfiguration.ServerType.FTP,
ProxyConfiguration.ServerType.SECURE,
ProxyConfiguration.ServerType.SOCKS or
ProxyConfiguration.ServerType.GOPHER
public void setProxyExceptions(java.util.Set exceptions)
exceptions - a set of strings that represent proxy exceptions.public java.util.Set getProxyExceptions()
public void setIgnoreProxyForLocalAddresses(boolean ignore)
ignore - TRUE if local addresses are ignored by proxy server,
otherwise - FALSEpublic boolean isIgnoreProxyForLocalAddresses()
TRUE if local addresses are ignored by proxy server,
otherwise - FALSE.
TRUE if local addresses are ignored by proxy server,
otherwise - FALSE.public void setAutoconfigProxyAddress(java.lang.String address)
address - a string that represents a path to the script that contains proxy configuration.public java.lang.String getAutoconfigProxyAddress()
public void setConnectionType(int type)
type - a specified connection type for the current proxy configuration.public int getConnectionType()
public java.lang.Object clone()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||