jdk/src/java.base/share/classes/java/net/URLStreamHandler.java
changeset 47004 b7e72fc752c9
parent 43215 f3d46da34ae9
equal deleted inserted replaced
47003:7875699033bf 47004:b7e72fc752c9
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   529      * @param   path      the path component of the URL.
   529      * @param   path      the path component of the URL.
   530      * @param   query     the query part for the URL.
   530      * @param   query     the query part for the URL.
   531      * @param   ref       the reference.
   531      * @param   ref       the reference.
   532      * @exception       SecurityException       if the protocol handler of the URL is
   532      * @exception       SecurityException       if the protocol handler of the URL is
   533      *                                  different from this one
   533      *                                  different from this one
   534      * @see     java.net.URL#set(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String)
       
   535      * @since 1.3
   534      * @since 1.3
   536      */
   535      */
   537        protected void setURL(URL u, String protocol, String host, int port,
   536        protected void setURL(URL u, String protocol, String host, int port,
   538                              String authority, String userInfo, String path,
   537                              String authority, String userInfo, String path,
   539                              String query, String ref) {
   538                              String query, String ref) {