Uses of Class
java.net.InetSocketAddress
-
Packages that use InetSocketAddress 软件包 描述 com.sun.net.httpserver 提供一个简单的高级Http服务器API,可用于构建嵌入式HTTP服务器。com.sun.net.httpserver.spi 提供可插拔的服务提供程序接口,允许将HTTP服务器实现替换为其他实现。java.net 提供实现网络应用程序的类。javax.xml.ws.spi.http 提供用于在容器(例如servlet容器)中便携式部署JAX-WS Web服务的HTTP SPI。 -
-
Uses of InetSocketAddress in com.sun.net.httpserver
Methods in com.sun.net.httpserver that return InetSocketAddress Modifier and Type 方法 描述 abstract InetSocketAddress
HttpServer. getAddress()
返回服务器正在侦听的地址abstract InetSocketAddress
HttpsParameters. getClientAddress()
返回启动连接的远程客户端的地址。abstract InetSocketAddress
HttpExchange. getLocalAddress()
返回接收请求的本地地址abstract InetSocketAddress
HttpExchange. getRemoteAddress()
返回调用此请求的远程实体的地址Methods in com.sun.net.httpserver with parameters of type InetSocketAddress Modifier and Type 方法 描述 abstract void
HttpServer. bind(InetSocketAddress addr, int backlog)
将当前未绑定的HttpServer绑定到给定的地址和端口号。static HttpServer
HttpServer. create(InetSocketAddress addr, int backlog)
创建一个HttpServer
实例,它将绑定到指定的InetSocketAddress
(IP地址和端口号)也可以指定最大的积压。static HttpsServer
HttpsServer. create(InetSocketAddress addr, int backlog)
创建一个HttpsServer
实例,它将绑定到指定的InetSocketAddress
(IP地址和端口号)也可以指定最大的积压。 -
Uses of InetSocketAddress in com.sun.net.httpserver.spi
Methods in com.sun.net.httpserver.spi with parameters of type InetSocketAddress Modifier and Type 方法 描述 abstract HttpServer
HttpServerProvider. createHttpServer(InetSocketAddress addr, int backlog)
从此提供程序创建一个HttpServerabstract HttpsServer
HttpServerProvider. createHttpsServer(InetSocketAddress addr, int backlog)
从此提供程序创建一个HttpsServer -
Uses of InetSocketAddress in java.net
Methods in java.net that return InetSocketAddress Modifier and Type 方法 描述 static InetSocketAddress
InetSocketAddress. createUnresolved(String host, int port)
从主机名和端口号创建未解析的套接字地址。Methods in java.net with parameters of type InetSocketAddress Modifier and Type 方法 描述 static ProxySelector
ProxySelector. of(InetSocketAddress proxyAddress)
返回一个ProxySelector,它为所有HTTP和HTTPS请求使用给定的代理地址。 -
Uses of InetSocketAddress in javax.xml.ws.spi.http
Methods in javax.xml.ws.spi.http that return InetSocketAddress Modifier and Type 方法 描述 abstract InetSocketAddress
HttpExchange. getLocalAddress()
返回收到请求的未解决的本地地址。abstract InetSocketAddress
HttpExchange. getRemoteAddress()
返回调用此请求的远程实体的未解析地址。
-