🔥 Burn Fat Fast. Discover How! 💪

JEP 408: Simple Web Server #web #jep JEP 408 was proposed to p | Java Tech News

JEP 408: Simple Web Server
#web #jep
JEP 408 was proposed to provide a command-line tool to start a minimal web server. The goals of this JEP is to offer an out-of-the-box static HTTP file server with easy setup and minimal functionality as a part of OpenJDK distribution. The default implementation will be working via CLI tool.
$ java -m jdk.httpserver
Default bind address loopback. For all interfaces use "-b 0.0.0.0" or "-b ::".
Serving /current/directory (and subdirectories) on
URL http://127.0.0.1:8000/ ...
This simple server is intended for testing, development, and debugging purposes only. It is not a goal of this JEP to provide a feature-rich or commercial-grade server with authentication, access control, or encryption.
https://openjdk.java.net/jeps/408