APIdia Launch Partner
Top Constructors Methods
sun.net.util

public final Class ProxyUtil

extends Object
Class Inheritance
Imports
sun.net.ApplicationProxy, java.net.Proxy

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Proxy
copyProxy(Proxy proxy)

Creates a new Proxy instance for the given proxy iff it is neither null, Proxy.NO_PROXY, an ApplicationProxy instance, nor already a Proxy instance.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ProxyUtilback to summary
private ProxyUtil()

Method Detail

copyProxyback to summary
public static Proxy copyProxy(Proxy proxy)

Creates a new Proxy instance for the given proxy iff it is neither null, Proxy.NO_PROXY, an ApplicationProxy instance, nor already a Proxy instance.