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.
|
Modifier and Type | Method and 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 and 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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.