| sunlabs.brazil.proxy.UseProxy
UseProxy | public interface UseProxy (Code) | | This interface is used by the
ProxyHandler class to
decide whether to issue an HTTP request directly to the
specified host, or to issue the request via an HTTP proxy.
author: Colin Stevens (colin.stevens@sun.com) version: 1.4, 00/05/22 |
Method Summary | |
public boolean | useProxy(String host, int port) Determines if the user can issue a direct or proxy request to the
specified host and port. |
useProxy | public boolean useProxy(String host, int port)(Code) | | Determines if the user can issue a direct or proxy request to the
specified host and port.
The actual HTTP proxy to use is specified external to this routine by
some other mechanism.
Parameters: host - The host name. Parameters: port - The port number. true if the user should send the HTTP requestvia an HTTP proxy, false if the user cansend the HTTP request directly to the specified named host. |
|
|