Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.net.Proxy

Packages that use Proxy
Package Description
java.net Provides the classes for implementing networking applications. 
 

Uses of Proxy in java.net
 

Fields in java.net declared as Proxy
Modifier and Type Field and Description
static Proxy Proxy.NO_PROXY
          A proxy setting that represents a DIRECT connection, basically telling the protocol handler not to use any proxying.
 

Methods in java.net that return types with arguments of type Proxy
Modifier and Type Method and Description
abstract  List<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 in java.net with parameters of type Proxy
Modifier and Type Method and Description
 URLConnection URL.openConnection(Proxy proxy)
          Same as URL.openConnection(), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxing 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.
 

Constructors in java.net with parameters of type Proxy
Constructor and Description
Socket(Proxy proxy)
          Creates an unconnected socket, specifying the type of proxy, if any, that should be used regardless of any other settings.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.