Re: Should SimpleFileServer#createFileServer() mention that the returned server isn't started?

2021-12-02 Thread Julia Boes
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

Should SimpleFileServer#createFileServer() mention that the returned server isn't started?

2021-12-02 Thread Jaikiran Pai
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