--- old/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpServer.java 2015-04-28 20:03:54.403593438 +0400 +++ new/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpServer.java 2015-04-28 20:03:54.167593438 +0400 @@ -58,8 +58,8 @@ * whose path is the longest matching prefix of the request URI's path. * Paths are matched literally, which means that the strings are compared * case sensitively, and with no conversion to or from any encoded forms. - * For example. Given a HttpServer with the following HttpContexts configured.

- * + * For example. Given a HttpServer with the following HttpContexts configured. + *
* * * @@ -67,7 +67,7 @@ *
ContextContext path
ctx1"/"
ctx2"/apps/"
*

* the following table shows some request URIs and which, if any context they would - * match with.

+ * match with. * * * @@ -181,7 +181,7 @@ * approximately delay seconds have elapsed (whichever happens * sooner). Then, all open TCP connections are closed, the background * thread created by start() exits, and the method returns. - * Once stopped, a HttpServer cannot be re-used.

+ * Once stopped, a HttpServer cannot be re-used. * * @param delay the maximum time in seconds to wait until exchanges have finished. * @throws IllegalArgumentException if delay is less than zero.

Request URIMatches context
"http://foo.com/apps/foo/bar"ctx3