CARVIEW |
Select Language
HTTP/1.1 200 OK
Server: AkamaiNetStorage
Content-Type: text/html
ETag: "a8ed140e19c96b6d53d8ceebe8e009a0:1660840736.297411"
Vary: Accept-Encoding
Content-Encoding: gzip
Cache-Control: max-age=21600
Date: Fri, 25 Jul 2025 03:19:33 GMT
Content-Length: 3287
Connection: keep-alive
jdk.httpserver (Java SE 18 & JDK 18)
Module jdk.httpserver
module jdk.httpserver
Defines the JDK-specific HTTP server API, and provides the jwebserver tool
for running a minimal HTTP server.
The com.sun.net.httpserver
package defines a high-level API for
building servers that support HTTP and HTTPS. The SimpleFileServer class
implements a simple HTTP-only file server intended for testing, development
and debugging purposes. A default implementation is provided via the
jwebserver
tool and the main entry point of the module, which can
also be invoked with java -m jdk.httpserver
.
The com.sun.net.httpserver.spi
package specifies a Service Provider
Interface (SPI) for locating HTTP server implementations based on the
com.sun.net.httpserver
API.
- Module Graph:
- Tool Guides:
- jwebserver
- Since:
- 9
-
Packages
ExportsPackageDescriptionProvides 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. -
Services
Uses