Generated by
JDiff

Class java.net.URLConnection

Documentation changed from old to new.

Added Methods
Object getContent(Class[]) Retrieves the contents of this URL connection.
 

Changed Methods
boolean getAllowUserInteraction() Documentation changed from old to new.
Returns the value of the allowUserInteraction field for this object.
boolean getDefaultAllowUserInteraction() Documentation changed from old to new.
Returns the default value of the allowUserInteraction field.
String getDefaultRequestProperty(String) Documentation changed from old to new.
Now deprecated.
The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained.
boolean getDefaultUseCaches() Documentation changed from old to new.
Returns the default value of a URLConnection's useCaches flag.
boolean getDoInput() Documentation changed from old to new.
Returns the value of this URLConnection's doInput flag.
boolean getDoOutput() Documentation changed from old to new.
Returns the value of this URLConnection's doOutput flag.
FileNameMap getFileNameMap() Documentation changed from old to new.
Loads filename map (a mimetable) from a data file.
long getIfModifiedSince() Documentation changed from old to new.
Returns the value of this object's ifModifiedSince field.
String getRequestProperty(String) Documentation changed from old to new.
Returns the value of the named general request property for this connection.
boolean getUseCaches() Documentation changed from old to new.
Returns the value of this URLConnection's useCaches field.
void setAllowUserInteraction(boolean) Documentation changed from old to new.
Set the value of the allowUserInteraction field of this URLConnection.
void setDefaultAllowUserInteraction(boolean) Documentation changed from old to new.
Sets the default value of the allowUserInteraction field for all future URLConnection objects to the specified value.
void setDefaultRequestProperty(String, String) Documentation changed from old to new.
Now deprecated.
The instance specific setRequestProperty method should be used after an appropriate instance of URLConnection is obtained.
void setDefaultUseCaches(boolean) Documentation changed from old to new.
Sets the default value of the useCaches field to the specified value.
void setDoInput(boolean) Documentation changed from old to new.
Sets the value of the doInput field for this URLConnection to the specified value.
void setDoOutput(boolean) Documentation changed from old to new.
Sets the value of the doOutput field for this URLConnection to the specified value.
void setFileNameMap(FileNameMap) Documentation changed from old to new.
Sets the FileNameMap.
void setIfModifiedSince(long) Documentation changed from old to new.
Sets the value of the ifModifiedSince field of this URLConnection to the specified value.
void setRequestProperty(String, String) Documentation changed from old to new.
Sets the general request property.
void setUseCaches(boolean) Documentation changed from old to new.
Sets the value of the useCaches field of this URLConnection to the specified value.