--- 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.
- *
Context | Context path |
ctx1 | "/" |
ctx2 | "/apps/" |
* the following table shows some request URIs and which, if any context they would - * match with.
+ * match with. *
Request URI | Matches context |
"http://foo.com/apps/foo/bar" | ctx3 |