Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8278154: SimpleFileServer#createFileServer() should specify that the …
…returned server is not started

Reviewed-by: dfuchs
  • Loading branch information
Julia Boes committed Dec 3, 2021
1 parent d1cad24 commit 53df9ff
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -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
Expand Down

1 comment on commit 53df9ff

@openjdk-notifier
Copy link

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.