Uses of Class
java.net.Proxy

Packages that useProxy
Package
Description
java.net
Provides the classes for implementing networking applications.
  • Uses ofProxy injava.net

    Fields injava.net declared asProxy
    Modifier and Type
    Field
    Description
    static finalProxy
    Proxy.NO_PROXY
    A proxy setting that represents aDIRECT connection, basically telling the protocol handler not to use any proxying.
    Methods injava.net that return types with arguments of typeProxy
    Modifier and Type
    Method
    Description
    abstractList<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 injava.net with parameters of typeProxy
    Modifier and Type
    Method
    Description
    URL.openConnection(Proxy proxy)
    Same asURL.openConnection(), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxying will ignore the proxy parameter and make a normal connection.
    protectedURLConnection
    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 proxying will ignore the proxy parameter and make a normal connection.
    Constructors injava.net with parameters of typeProxy
    Modifier
    Constructor
    Description
     
    Socket(Proxy proxy)
    Creates an unconnected socket, specifying the type of proxy, if any, that should be used regardless of any other settings.