Hi Jaikiran,
I agree, a sentence like "The returned server is not started." should be added,
similar to the API doc of the new HttpServer::create. I filed an issue for it:
https://bugs.openjdk.java.net/browse/JDK-8278154
While here, I'll fix the typo in the first line, too.
Regards,
Julia
Right now, the com.sun.net.httpserver.SimpleFileServer#createFileServer
states this:
"
* Creates a file server the serves files from a given path.
*
* The server is configured with an initial context that maps the
* URI {@code path} to a file handler. The file
handler is