Uses of Class
java.net.Proxy
 
   -  
      
Packages that use Proxy 软件包 描述 java.net 提供实现网络应用程序的类。 -  
      
-  
        
Uses of Proxy in java.net
Fields in java.net declared as Proxy Modifier and Type Field 描述 static ProxyProxy. NO_PROXY代理设置代表一个DIRECT连接,基本上告诉协议处理程序不使用任何代理。Methods in java.net that return types with arguments of type Proxy Modifier and Type 方法 描述 abstract List<Proxy>ProxySelector. select(URI uri)根据访问资源的协议选择所有适用的代理以及访问资源的目标地址。Methods in java.net with parameters of type Proxy Modifier and Type 方法 描述 URLConnectionURL. openConnection(Proxy proxy)与URL.openConnection()相同,但连接将通过指定的代理进行; 不支持代理的协议处理程序将忽略代理参数并进行正常连接。protected URLConnectionURLStreamHandler. openConnection(URL u, Proxy p)与openConnection(URL)相同,但连接将通过指定的代理进行; 不支持代理的协议处理程序将忽略代理参数并进行正常连接。Constructors in java.net with parameters of type Proxy Constructor 描述 Socket(Proxy proxy)创建一个未连接的套接字,指定应该使用的代理类型(如果有的话),无论其他任何设置如何。 
 -