--- a/src/java.net.http/share/classes/java/net/http/WebSocket.java Mon Feb 19 14:53:00 2018 +0000
+++ b/src/java.net.http/share/classes/java/net/http/WebSocket.java Tue Feb 20 09:55:18 2018 +0000
@@ -115,8 +115,10 @@
* Adds the given name-value pair to the list of additional HTTP headers
* sent during the opening handshake.
*
- * <p> Headers defined in WebSocket Protocol are illegal. If this method
- * is not invoked, no additional HTTP headers will be sent.
+ * <p> Headers defined in
+ * <a href="https://tools.ietf.org/html/rfc6455#section-11.3">WebSocket
+ * Protocol</a> are illegal. If this method is not invoked, no
+ * additional HTTP headers will be sent.
*
* @param name
* the header name