Skip to content
Browse files
8278154: SimpleFileServer#createFileServer() should specify that the …
…returned server is not started

Reviewed-by: dfuchs
  • Loading branch information
FrauBoes committed Dec 3, 2021
1 parent d1cad24 commit 53df9ffbca841358eb8bb49837ec4bf43a1a743b
Showing 1 changed file with 3 additions and 2 deletions.
@@ -164,14 +164,15 @@ public enum OutputLevel {

* Creates a <i>file server</i> the serves files from a given path.
* Creates a <i>file server</i> that serves files from a given path.
* <p> The server is configured with an initial context that maps the
* URI {@code path} to a <i>file handler</i>. The <i>file handler</i> is
* created as if by an invocation of
* {@link #createFileHandler(Path) createFileHandler(rootDirectory)}, and is
* associated to a context created as if by an invocation of
* {@link HttpServer#createContext(String) createContext("/")}.
* {@link HttpServer#createContext(String) createContext("/")}. The returned
* server is not started.
* <p> An output level can be given to print log messages relating to the
* exchanges handled by the server. The log messages, if any, are printed to

1 comment on commit 53df9ff

Copy link

@openjdk-notifier openjdk-notifier bot commented on 53df9ff Dec 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.