API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.net. ProxySelector View Source
Author(s)
Yingxian Wang
Jean-Christophe Collet
Since
1.5
Version
1.3, 03/08/09
Serial
Hierarchy
 Object
      ProxySelector
Implements
Subclasses
Description
publicabstract abstract class ProxySelector
  Selects the proxy server to use, if any, when connecting to the network resource referenced by a URL.
See also:   
Constructors
public ProxySelector ()
Methods
Hide/Show inherited methods
publicabstract void connectFailed (URI uri, SocketAddress sa, IOException ioe)
  Called to indicate that a connection could not be established to a proxy/socks server.
publicstatic ProxySelector getDefault ()
  Gets the system-wide proxy selector.
publicabstract List<Proxy> 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.
publicstatic void setDefault (ProxySelector ps)
  Sets (or unsets) the system-wide proxy selector.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar