fipaos.util.proxy
Class Proxy
- public class Proxy
description of class
Constructor Summary |
Proxy() This is the default Proxy class constructor. |
Method Summary |
static String | fetchDocument(String test_url) This is a test method that will fetch a specific document. |
static void | setAutoConfigScriptURL(String url) This method is one of two methods which is public. |
static void | setProxyProperties(String proxy) This is the private constructor method that sets up the proxy properies. |
Proxy
public Proxy()
- This is the default Proxy class constructor.
fetchDocument
public static String fetchDocument(String test_url)
throws NoContentException,
MovedException,
BadRequestException,
BadMachineException
- This is a test method that will fetch a specific document.
setAutoConfigScriptURL
public static void setAutoConfigScriptURL(String url)
- This method is one of two methods which is public. It is used to set the
automatic configuration script.
setProxyProperties
public static void setProxyProperties(String proxy)
- This is the private constructor method that sets up the proxy properies.
to Class java.lang.String- This is a static variable to contain the location of HTTP proxy.
This should be of the form ":".
to Class java.util.Vector
- These are the two vectors that are used to store the complete list of all
of the proxies and the list of used proxies respectively.
to Class java.util.Vector
to Class java.lang.String