--- old/src/java.base/share/classes/sun/net/www/protocol/http/HttpAuthenticator.java 2015-06-05 21:17:14.459465450 +0400 +++ new/src/java.base/share/classes/sun/net/www/protocol/http/HttpAuthenticator.java 2015-06-05 21:17:14.295465450 +0400 @@ -59,6 +59,7 @@ * supplied or could be found. *
* Example: + *
{@code * --> GET http://www.authorization-required.com/ HTTP/1.0 * <-- HTTP/1.0 403 Unauthorized * <-- WWW-Authenticate: Basic realm="WallyWorld" @@ -67,8 +68,9 @@ * return "QWadhgWERghghWERfdfQ==" * --> GET http://www.authorization-required.com/ HTTP/1.0 * --> Authorization: Basic QWadhgWERghghWERfdfQ== - * <-- HTTP/1.0 200 OK + * <-- HTTP/1.0 200 OK} * YAY!!! + **/ public String authString (URL u, String scheme, String realm);