| Package | Description |
|---|---|
| java.net |
Provides the classes for implementing networking applications.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List |
ProxySelector.select(URI
Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.
|
| Modifier and Type | Method and Description |
|---|---|
URLConnection |
URL.openConnection(Proxy
Same as
URL, 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
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.
|
| Constructor and Description | |
|---|---|
Socket(Proxy
Creates an unconnected socket, specifying the type of proxy, if any, that should be used regardless of any other settings.
|