Uses of Class
java.net.Proxy
Packages that use Proxy
-
Uses of Proxy in java.net
修饰符和类FieldDescriptionstatic final Proxy
Proxy.NO_PROXY
A proxy setting that represents aDIRECT
connection, basically telling the protocol handler not to use any proxying.修饰符和类方法DescriptionSelects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.修饰符和类方法DescriptionURL.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.