Uses of Class
com.sun.net.httpserver.HttpServer
-
Packages that use HttpServer 软件包 描述 com.sun.net.httpserver 提供简单的高级Http服务器API,可用于构建嵌入式HTTP服务器。com.sun.net.httpserver.spi 提供可插入的服务提供程序接口,允许将HTTP服务器实现替换为其他实现。 -
-
Uses of HttpServer in com.sun.net.httpserver
Subclasses of HttpServer in com.sun.net.httpserver 变量和类型 类 描述 class
HttpsServer
此类是HttpServer
的扩展,它提供对HTTPS的支持。Methods in com.sun.net.httpserver that return HttpServer 变量和类型 方法 描述 static HttpServer
HttpServer. create()
创建一个HttpServer实例,该实例最初未绑定到任何本地地址/端口。static HttpServer
HttpServer. create(InetSocketAddress addr, int backlog)
创建一个HttpServer
实例,该实例将绑定到指定的InetSocketAddress
(IP地址和端口号)也可以指定最大积压。abstract HttpServer
HttpContext. getServer()
返回创建此上下文的服务器 -
Uses of HttpServer in com.sun.net.httpserver.spi
Methods in com.sun.net.httpserver.spi that return HttpServer 变量和类型 方法 描述 abstract HttpServer
HttpServerProvider. createHttpServer(InetSocketAddress addr, int backlog)
creates a HttpServer from this provider
-