The methods of Java.Net.URLConnection are listed below. For a list of all members, see the URLConnection Members list.
See Also: Inherited members from Java.Lang.Object
AddRequestProperty(string, string)Adds the given property to the request header. | ||
abstract | Connect()Opens a connection to the resource. | |
ConnectAsync()Documentation for this section has not yet been entered. | ||
GetContent(Java.Lang.Class[])Returns an object representing the content of the resource this URLConnection is connected to. | ||
static | GetDefaultRequestProperty(string)Returns null. | |
GetHeaderField(int)Returns the header value at the field position pos or null if the header has fewer than pos fields. | ||
GetHeaderField(string)Returns the value of the header field specified by key or null if there is no field with this name. | ||
GetHeaderFieldDate(string, long)Returns the specified header value as a date in milliseconds since January 1, 1970 GMT. | ||
GetHeaderFieldInt(string, int)Returns the specified header value as a number. | ||
GetHeaderFieldKey(int)Returns the name of the header field at the given position posn or null if there are fewer than posn fields. | ||
GetHeaderFieldLong(string, long)Documentation for this section has not yet been entered. | ||
GetRequestProperty(string)Returns the value of the request header property specified by {code field} or null if there is no field with this name. | ||
static | GuessContentTypeFromName(string)Determines the MIME-type of the given resource url by resolving the filename extension with the internal FileNameMap. | |
static | GuessContentTypeFromStream(System.IO.Stream)Determines the MIME-type of the resource represented by the input stream is by reading its first few characters. | |
static | SetContentHandlerFactory(IContentHandlerFactory)Sets the internally used content handler factory. | |
static | SetDefaultRequestProperty(string, string)Does nothing. | |
SetRequestProperty(string, string)Sets the value of the specified request header field. |