jdk/src/share/classes/java/net/HttpURLConnection.java
changeset 17473 35cd9b3a98ff
parent 10596 39b3a979e600
child 18156 edb590d448c5
equal deleted inserted replaced
17472:4ce9bd9f56ac 17473:35cd9b3a98ff
    48  * <P>The HTTP protocol handler has a few settings that can be accessed through
    48  * <P>The HTTP protocol handler has a few settings that can be accessed through
    49  * System Properties. This covers
    49  * System Properties. This covers
    50  * <a href="doc-files/net-properties.html#Proxies">Proxy settings</a> as well as
    50  * <a href="doc-files/net-properties.html#Proxies">Proxy settings</a> as well as
    51  * <a href="doc-files/net-properties.html#MiscHTTP"> various other settings</a>.
    51  * <a href="doc-files/net-properties.html#MiscHTTP"> various other settings</a>.
    52  * </P>
    52  * </P>
       
    53  * <p>
       
    54  * <b>Security permissions</b>
       
    55  * <p>
       
    56  * If a security manager is installed, and if a method is called which results in an
       
    57  * attempt to open a connection, the caller must possess either:-
       
    58  * <ul><li>a "connect" {@link SocketPermission} to the host/port combination of the
       
    59  * destination URL or</li>
       
    60  * <li>a {@link HttpURLPermission} that permits this request.</li>
       
    61  * </ul><p>
       
    62  * If automatic redirection is enabled, and this request is redirected to another
       
    63  * destination, then the caller must also have permission to connect to the
       
    64  * redirected host/URL.
    53  *
    65  *
    54  * @see     java.net.HttpURLConnection#disconnect()
    66  * @see     java.net.HttpURLConnection#disconnect()
    55  * @since JDK1.1
    67  * @since JDK1.1
    56  */
    68  */
    57 abstract public class HttpURLConnection extends URLConnection {
    69 abstract public class HttpURLConnection extends URLConnection {