| Package | Description |
|---|---|
| java.net |
Provides the classes for implementing networking applications.
|
| javax.xml.ws.spi.http |
Provides HTTP SPI that is used for portable deployment of JAX-WS
web services in containers(for e.g. servlet containers).
|
| Modifier and Type | Method | Description |
|---|---|---|
static InetSocketAddress |
InetSocketAddress.createUnresolved(String host,
int port) |
Creates an unresolved socket address from a hostname and a port number.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ProxySelector |
ProxySelector.of(InetSocketAddress proxyAddress) |
Returns a ProxySelector which uses the given proxy address for all HTTP
and HTTPS requests.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract InetSocketAddress |
HttpExchange.getLocalAddress() |
Returns the unresolved local address on which the request was received.
|
abstract InetSocketAddress |
HttpExchange.getRemoteAddress() |
Returns the unresolved address of the remote entity invoking
this request.
|
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2