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 提供实现网络应用程序的类。 -
-
Uses of InetSocketAddress in com.sun.net.httpserver
Methods in com.sun.net.httpserver that return InetSocketAddress 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 static InetSocketAddress
InetSocketAddress. createUnresolved(String host, int port)
从主机名和端口号创建未解析的套接字地址。Methods in java.net with parameters of type InetSocketAddress 变量和类型 方法 描述 static ProxySelector
ProxySelector. of(InetSocketAddress proxyAddress)
返回一个ProxySelector,它使用给定的代理地址来处理所有HTTP和HTTPS请求。
-