The properties 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
AllowUserInteraction | bool. Returns allowUserInteraction. | |
ConnectTimeout | int. Returns the connect timeout in milliseconds. | |
[read-only] | Content | Java.Lang.Object. Returns an object representing the content of the resource this URLConnection is connected to. |
[read-only] | ContentEncoding | string. Returns the content encoding type specified by the response header field content-encoding or null if this field is not set. |
[read-only] | ContentLength | int. Returns the content length in bytes specified by the response header field content-length or -1 if this field is not set or cannot be represented as an int. |
[read-only] | ContentLengthLong | long. Documentation for this section has not yet been entered. |
[read-only] | ContentType | string. Returns the MIME-type of the content specified by the response header field content-type or null if type is unknown. |
[read-only] | Date | long. Returns the timestamp when this response has been sent as a date in milliseconds since January 1, 1970 GMT or 0 if this timestamp is unknown. |
static | DefaultAllowUserInteraction | bool. Returns the default value of allowUserInteraction. |
DefaultUseCaches | bool. Returns the default setting whether this connection allows using caches. | |
DoInput | bool. Returns the value of the option doInput which specifies whether this connection allows to receive data. | |
DoOutput | bool. Returns the value of the option doOutput which specifies whether this connection allows to send data. | |
[read-only] | Expiration | long. Returns the timestamp when this response will be expired in milliseconds since January 1, 1970 GMT or 0 if this timestamp is unknown. |
static | FileNameMap | IFileNameMap. Returns the table which is used by all URLConnection instances to determine the MIME-type according to a file extension. |
[read-only] | HeaderFields | IDictionary<string, IList<string>>. Returns an unmodifiable map of the response-header fields and values. |
IfModifiedSince | long. Returns the point of time since when the data must be modified to be transmitted. | |
[read-only] | InputStream | System.IO.Stream. Returns an InputStream for reading data from the resource pointed by this URLConnection. |
[read-only] | LastModified | long. Returns the value of the response header field last-modified or 0 if this value is not set. |
[read-only] | OutputStream | System.IO.Stream. Returns an OutputStream for writing data to this URLConnection. |
[read-only] | Permission | Java.Security.Permission. Returns a Permission object representing all needed permissions to open this connection. |
ReadTimeout | int. Returns the read timeout in milliseconds, or 0 if reads never timeout. | |
[read-only] | RequestProperties | IDictionary<string, IList<string>>. Returns an unmodifiable map of general request properties used by this connection. |
[read-only] | URL | URL. Returns the URL represented by this URLConnection. |
UseCaches | bool. Returns the value of the flag which specifies whether this URLConnection allows to use caches. |
Connected | bool. Specifies whether this URLConnection is already connected to the remote resource. | |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Url | URL. The URL which represents the remote target of this URLConnection. |