Package modernfeatures.java18
Class SimpleWebServerDemo
java.lang.Object
modernfeatures.java18.SimpleWebServerDemo
A simple static file server using Java 18's built-in HttpServer.
This server serves static files from the "public" directory located at the root of the project (i.e., alongside the README.md).
Once running, access it in your browser at: http://localhost:8080/
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleWebServerDemo
public SimpleWebServerDemo()
-
-
Method Details
-
main
- Throws:
IOException
-