src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/WebSocket.java
branchhttp-client-branch
changeset 55764 34d7cc00f87a
parent 47216 71c04702a3d5
child 55838 12a64276cc96
equal deleted inserted replaced
55763:634d8e14c172 55764:34d7cc00f87a
   190          *          if the opening handshake does not complete within
   190          *          if the opening handshake does not complete within
   191          *          the specified {@linkplain #connectTimeout(Duration) duration}
   191          *          the specified {@linkplain #connectTimeout(Duration) duration}
   192          * <li> {@link InterruptedException} -
   192          * <li> {@link InterruptedException} -
   193          *          if the operation was interrupted
   193          *          if the operation was interrupted
   194          * <li> {@link SecurityException} -
   194          * <li> {@link SecurityException} -
   195          *          if a security manager is set, and the caller does not
   195          *          If a security manager has been installed and it denies
   196          *          have a {@link java.net.URLPermission} for the WebSocket URI
   196          *          {@link java.net.URLPermission access} to the WebSocket URI,
       
   197          *          that was used to create this builder.
       
   198          *          <a href="HttpRequest.html#securitychecks">Security checks</a>
       
   199          *          contains more information relating to the security context
       
   200          *          in which the the listener is invoked.
   197          * <li> {@link IllegalArgumentException} -
   201          * <li> {@link IllegalArgumentException} -
   198          *          if any of the additional {@link #header(String, String)
   202          *          if any of the additional {@link #header(String, String)
   199          *          headers} are illegal;
   203          *          headers} are illegal;
   200          *          or if any of the WebSocket Protocol rules relevant to {@link
   204          *          or if any of the WebSocket Protocol rules relevant to {@link
   201          *          #subprotocols(String, String...) subprotocols} are violated;
   205          *          #subprotocols(String, String...) subprotocols} are violated;