Java.Net.HttpURLConnection: Property Members

The properties of Java.Net.HttpURLConnection are listed below. For a list of all members, see the HttpURLConnection Members list.

See Also: Inherited members from Java.Net.URLConnection

Public Properties

[read-only]
ErrorStreamSystem.IO.Stream. Returns an input stream from the server in the case of an error such as the requested file has not been found on the remote server.
static
FollowRedirectsbool. Returns the value of followRedirects which indicates if this connection follows a different URL redirected by the server.
InstanceFollowRedirectsbool. Returns whether this connection follows redirects.
RequestMethodstring. Returns the request method which will be used to make the request to the remote HTTP server.
[read-only]
ResponseCodeHttpStatus. Returns the response code returned by the remote HTTP server.
[read-only]
ResponseMessagestring. Returns the response message returned by the remote HTTP server.

Protected Properties

ChunkLengthint. If the HTTP chunked encoding is enabled this parameter defines the chunk-length.
FixedContentLengthint. The byte count in the request body if it is both known and streamed; and -1 otherwise.
FixedContentLengthLonglong. The byte count in the request body if it is both known and streamed; and -1 otherwise.
Methodstring. The HTTP request method of this HttpURLConnection.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.