Class SimpleWebServerNotes
java.lang.Object
net.jrodolfo.java_evolution.java18.SimpleWebServerNotes
Explains the simple web server introduced in Java 18.
Before Java 18, serving static files usually meant installing another tool or
writing a small server. Java 18 added the jwebserver command-line
tool for the simpler case: quickly serving a directory during local
development, documentation review, or demos.
Unit tests do not launch it because that would introduce port and process-management concerns. This is a tooling feature, so notes communicate the practical usage without making the test suite depend on a background process.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleWebServerNotes
public SimpleWebServerNotes()
-
-
Method Details
-
command
-
exampleCommand
-
purpose
-