软件包 | 描述 |
---|---|
java.net |
为实现网络应用程序提供类。
|
javax.xml.ws.spi.http |
提供HTTP SPI是用于在容器的便携式部署JAX-WS web服务(例如
|
Modifier and Type | Method and Description |
---|---|
static InetSocketAddress |
InetSocketAddress.createUnresolved(String host, int port)
根据主机名和端口号创建一个悬而未决的套接字地址。
|
Modifier and Type | Method and Description |
---|---|
abstract InetSocketAddress |
HttpExchange.getLocalAddress()
返回已接收到的未解决的本地地址。
|
abstract InetSocketAddress |
HttpExchange.getRemoteAddress()
返回调用此请求的远程实体的未解决的地址。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.