|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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. |
Method Detail |
---|
boolean useProxy(String host, int port)
The actual HTTP proxy to use is specified external to this routine by some other mechanism.
host
- The host name.port
- The port number.
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.
|
Version Kenai-svn-r24, Generated 08/18/09 Copyright (c) 2001-2009, Sun Microsystems. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |