| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Proxy | |
|---|---|
| java.net | Provides the classes for implementing networking applications. | 
| Uses of Proxy in java.net | 
|---|
| Fields in java.net declared as Proxy | |
|---|---|
static Proxy | 
Proxy.NO_PROXY
A proxy setting that represents a DIRECT connection,
 basically telling the protocol handler not to use any proxying. | 
| Methods in java.net that return types with arguments of type Proxy | |
|---|---|
abstract  List<Proxy> | 
ProxySelector.select(URI uri)
Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.  | 
| Methods in java.net with parameters of type Proxy | |
|---|---|
 URLConnection | 
URL.openConnection(Proxy proxy)
Same as openConnection(), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxing will ignore the proxy parameter and make a normal connection.  | 
protected  URLConnection | 
URLStreamHandler.openConnection(URL u,
               Proxy p)
Same as openConnection(URL), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxing will ignore the proxy parameter and make a normal connection.  | 
| Constructors in java.net with parameters of type Proxy | |
|---|---|
Socket(Proxy proxy)
Creates an unconnected socket, specifying the type of proxy, if any, that should be used regardless of any other settings.  | 
|
  | 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.