Integrated: 8245095: Implementation of JEP 408: Simple Web Server
Julia Boes
jboes at openjdk.java.net
Tue Oct 19 10:22:00 UTC 2021
On Tue, 14 Sep 2021 08:52:37 GMT, Julia Boes <jboes at openjdk.org> wrote:
> This change implements a simple web server that can be run on the command-line with `java -m jdk.httpserver`.
>
> This is facilitated by adding an entry point for the `jdk.httpserver` module, an implementation class whose main method is run when the above command is executed. This is the first such module entry point in the JDK.
>
> The server is a minimal HTTP server that serves the static files of a given directory, similar to existing alternatives on other platforms and convenient for testing, development, and debugging.
>
> Additionally, a small API is introduced for programmatic creation and customization.
>
> Testing: tier1-3.
This pull request has now been integrated.
Changeset: 9d191fce
Author: Julia Boes <jboes at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/9d191fce55fa70d6a2affc724fad57b0e20e4bde
Stats: 7181 lines in 42 files changed: 7146 ins; 15 del; 20 mod
8245095: Implementation of JEP 408: Simple Web Server
Co-authored-by: Julia Boes <jboes at openjdk.org>
Co-authored-by: Chris Hegarty <chegar at openjdk.org>
Co-authored-by: Michael McMahon <michaelm at openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs at openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda at openjdk.org>
Co-authored-by: Ivan Šipka <isipka at openjdk.org>
Reviewed-by: ihse, jlaskey, michaelm, chegar, dfuchs
-------------
PR: https://git.openjdk.java.net/jdk/pull/5505
More information about the build-dev
mailing list