All Packages Class Hierarchy This Package Previous Next Index
Class HTML.AltProxyUrl
java.lang.Object
|
+----HTML.AltProxyUrl
- public class AltProxyUrl
- extends Object
This class is a URL that allows the user to set up a proxy server
for retrieving URLs. If this server is set and it is different than
the host of the requested URL, then the request to fetch the URL
will be made to the proxy server. Otherwise, the fetch will be made
directly. This is mainly intended so that an applet can use a proxy
server on the remote host to load URLs from other servers.
-
AltProxyUrl(String)
-
-
AltProxyUrl(String, String, int, String)
-
-
AltProxyUrl(String, String, String)
-
-
AltProxyUrl(URL, String)
-
-
openStream()
-
-
setWebProxy(String, int)
-
AltProxyUrl
public AltProxyUrl(String protocol,
String host,
int port,
String file) throws MalformedURLException
AltProxyUrl
public AltProxyUrl(String protocol,
String host,
String file) throws MalformedURLException
AltProxyUrl
public AltProxyUrl(String spec) throws MalformedURLException
AltProxyUrl
public AltProxyUrl(URL context,
String spec) throws MalformedURLException
setWebProxy
public static void setWebProxy(String proxyHost,
int proxyPort)
openStream
public InputStream openStream() throws IOException
All Packages Class Hierarchy This Package Previous Next Index