Uses of Class
com.sun.net.httpserver.HttpServer
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
Provides a pluggable service provider interface, which allows the HTTP server
implementation to be replaced with other implementations.
-
Uses of HttpServer in com.sun.net.httpserver
Modifier and TypeClassDescriptionclass
This class is an extension ofHttpServer
which provides support for HTTPS.Modifier and TypeMethodDescriptionstatic HttpServer
HttpServer.create()
Creates aHttpServer
instance which is initially not bound to any local address/port.static HttpServer
HttpServer.create
(InetSocketAddress addr, int backlog) Create aHttpServer
instance which will bind to the specifiedInetSocketAddress
(IP address and port number).abstract HttpServer
HttpContext.getServer()
Returns the server this context was created with. -
Uses of HttpServer in com.sun.net.httpserver.spi
Modifier and TypeMethodDescriptionabstract HttpServer
HttpServerProvider.createHttpServer
(InetSocketAddress addr, int backlog) creates a HttpServer from this provider