Interface UseProxy
- All Known Implementing Classes:
SunProxy
public interface UseProxy
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.- Version:
- 2.2
- Author:
- Colin Stevens (colin.stevens@sun.com)
-
Method Summary
-
Method Details
-
useProxy
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:
trueif the user should send the HTTP request via an HTTP proxy,falseif the user can send the HTTP request directly to the specified named host.
-