GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Tree
  • Preview
  • New
  • Deprecated
  • Index
  • Help

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com — 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:
Module graph for jdk.httpserverModule graph for jdk.httpserver
Tool Guides:
jwebserver
Since:
9
  • Packages

    Exports
    Package
    Description
    com.sun.net.httpserver
    Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
    com.sun.net.httpserver.spi
    Provides a pluggable service provider interface, which allows the HTTP server implementation to be replaced with other implementations.
  • Services

    Uses
    Type
    Description
    HttpServerProvider
    Service provider class for HttpServer.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.