Uses of Class
java.net.Proxy
Packages that use Proxy
-
Uses of Proxy in java.net
Modifier and TypeFieldDescriptionstatic final Proxy
Proxy.NO_PROXY
A proxy setting that represents aDIRECT
connection, basically telling the protocol handler not to use any proxying.Modifier and TypeMethodDescriptionSelects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.Modifier and TypeMethodDescriptionURL.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.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 proxying will ignore the proxy parameter and make a normal connection.