src/java.base/share/classes/java/net/URLConnection.java
changeset 47478 438e0c9f2f17
parent 47216 71c04702a3d5
child 53133 bf2533105a26
equal deleted inserted replaced
47477:115ed64c7822 47478:438e0c9f2f17
   783      * necessary to make the connection represented by this
   783      * necessary to make the connection represented by this
   784      * object. This method returns null if no permission is
   784      * object. This method returns null if no permission is
   785      * required to make the connection. By default, this method
   785      * required to make the connection. By default, this method
   786      * returns {@code java.security.AllPermission}. Subclasses
   786      * returns {@code java.security.AllPermission}. Subclasses
   787      * should override this method and return the permission
   787      * should override this method and return the permission
   788      * that best represents the permission required to make a
   788      * that best represents the permission required to make
   789      * a connection to the URL. For example, a {@code URLConnection}
   789      * a connection to the URL. For example, a {@code URLConnection}
   790      * representing a {@code file:} URL would return a
   790      * representing a {@code file:} URL would return a
   791      * {@code java.io.FilePermission} object.
   791      * {@code java.io.FilePermission} object.
   792      *
   792      *
   793      * <p>The permission returned may dependent upon the state of the
   793      * <p>The permission returned may dependent upon the state of the