sunlabs.brazil.proxy
public interface UseProxy
Version: 2.2
Method Summary | |
---|---|
boolean | useProxy(String host, int port)
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. port The port number.
Returns: true
if the user should send the HTTP request
via an HTTP proxy, false
if the user can
send the HTTP request directly to the specified named host.