|
|
Using a Network Proxy and WebRenderer
To access the Internet some connections go through proxy servers.
WebRenderer is easily configurable to go through a proxy
server.
IBrowserCanvas browser =
BrowserFactory.spawnMozilla(); // Setting the Proxy browser.setProxyProtocol(new
ProxySetting(ProxySetting.PROTOCOL_ALL, "myProxyServer.com",
8080); browser.enableProxy();
The set proxy function takes a Protocol
which can be ALL, HTTP, FTP etc, A proxy Server URL(String), and a PORT
(int).
Please note the enableProxy() function is essential to enable
proxy access.
|