On Tue, 14 Sep 2021 08:52:37 GMT, Julia Boes <jb...@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 <jb...@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 <jb...@openjdk.org> Co-authored-by: Chris Hegarty <che...@openjdk.org> Co-authored-by: Michael McMahon <micha...@openjdk.org> Co-authored-by: Daniel Fuchs <dfu...@openjdk.org> Co-authored-by: Jan Lahoda <jlah...@openjdk.org> Co-authored-by: Ivan Å ipka <isi...@openjdk.org> Reviewed-by: ihse, jlaskey, michaelm, chegar, dfuchs ------------- PR: https://git.openjdk.java.net/jdk/pull/5505