RFR: 8245095: Implementation of JEP 408: Simple Web Server [v9]
Michael McMahon
michaelm at openjdk.java.net
Mon Oct 18 13:58:55 UTC 2021
On Tue, 12 Oct 2021 10:40:15 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.
>
> Julia Boes has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 24 commits:
>
> - Minor rewording of bind address output
> - Merge branch 'master' into simpleserver
> - Merge branch 'master' into simpleserver
> - update output for all interfaces
> - use ipv4/ipv6 specific loopback address and add add how-to output for all interfaces
> - Merge branch 'master' into simpleserver
> - change default bind address from anylocal to loopback
> - address PR comments
> - Merge branch 'master' into simpleserver
> - Merge remote-tracking branch 'origin/simpleserver' into simpleserver
> - ... and 14 more: https://git.openjdk.java.net/jdk/compare/b1b66965...e86609d0
Marked as reviewed by michaelm (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/5505
More information about the build-dev
mailing list