The members of Java.Net.HttpURLConnection are listed below.
See Also: Inherited members from Java.Net.URLConnection
Constructs a new HttpURLConnection instance pointing to the resource specified by the url. | ||
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | HttpAccepted | HttpStatus (202). Numeric status code, 202: Accepted |
const | HttpBadGateway | HttpStatus (502). Numeric status code, 502: Bad Gateway |
const | HttpBadMethod | HttpStatus (405). Numeric status code, 405: Bad Method |
const | HttpBadRequest | HttpStatus (400). Numeric status code, 400: Bad Request |
const | HttpClientTimeout | HttpStatus (408). Numeric status code, 408: Client Timeout |
const | HttpConflict | HttpStatus (409). Numeric status code, 409: Conflict |
const | HttpCreated | HttpStatus (201). Numeric status code, 201: Created |
const | HttpEntityTooLarge | HttpStatus (413). Numeric status code, 413: Entity too large |
const | HttpForbidden | HttpStatus (403). Numeric status code, 403: Forbidden |
const | HttpGatewayTimeout | HttpStatus (504). Numeric status code, 504: Gateway timeout |
const | HttpGone | HttpStatus (410). Numeric status code, 410: Gone |
const | HttpInternalError | HttpStatus (500). Numeric status code, 500: Internal error |
const | HttpLengthRequired | HttpStatus (411). Numeric status code, 411: Length required |
const | HttpMovedPerm | HttpStatus (301). Numeric status code, 301 Moved permanently |
const | HttpMovedTemp | HttpStatus (302). Numeric status code, 302: Moved temporarily |
const | HttpMultChoice | HttpStatus (300). Numeric status code, 300: Multiple choices |
const | HttpNoContent | HttpStatus (204). Numeric status code, 204: No content |
const | HttpNotAcceptable | HttpStatus (406). Numeric status code, 406: Not acceptable |
const | HttpNotAuthoritative | HttpStatus (203). Numeric status code, 203: Not authoritative |
const | HttpNotFound | HttpStatus (404). Numeric status code, 404: Not found |
const | HttpNotImplemented | HttpStatus (501). Numeric status code, 501: Not implemented |
const | HttpNotModified | HttpStatus (304). Numeric status code, 304: Not modified |
const | HttpOk | HttpStatus (200). Numeric status code, 200: OK |
const | HttpPartial | HttpStatus (206). Numeric status code, 206: Partial |
const | HttpPaymentRequired | HttpStatus (402). Numeric status code, 402: Payment required |
const | HttpPreconFailed | HttpStatus (412). Numeric status code, 412: Precondition failed |
const | HttpProxyAuth | HttpStatus (407). Numeric status code, 407: Proxy authentication required |
const | HttpReqTooLong | HttpStatus (414). Numeric status code, 414: Request too long |
const | HttpReset | HttpStatus (205). Numeric status code, 205: Reset |
const | HttpSeeOther | HttpStatus (303). Numeric status code, 303: See other |
const | HttpServerError | HttpStatus (500). Numeric status code, 500: Internal error |
const | HttpUnauthorized | HttpStatus (401). Numeric status code, 401: Unauthorized |
const | HttpUnavailable | HttpStatus (503). Numeric status code, 503: Unavailable |
const | HttpUnsupportedType | HttpStatus (415). Numeric status code, 415: Unsupported type |
const | HttpUseProxy | HttpStatus (305). Numeric status code, 305: Use proxy. |
const | HttpVersion | HttpStatus (505). Numeric status code, 505: Version not supported |
[read-only] | ErrorStream | System.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 | FollowRedirects | bool. Returns the value of followRedirects which indicates if this connection follows a different URL redirected by the server. |
InstanceFollowRedirects | bool. Returns whether this connection follows redirects. | |
RequestMethod | string. Returns the request method which will be used to make the request to the remote HTTP server. | |
[read-only] | ResponseCode | HttpStatus. Returns the response code returned by the remote HTTP server. |
[read-only] | ResponseMessage | string. Returns the response message returned by the remote HTTP server. |
ChunkLength | int. If the HTTP chunked encoding is enabled this parameter defines the chunk-length. | |
FixedContentLength | int. The byte count in the request body if it is both known and streamed; and -1 otherwise. | |
FixedContentLengthLong | long. The byte count in the request body if it is both known and streamed; and -1 otherwise. | |
Method | string. The HTTP request method of this HttpURLConnection. | |
[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. |
abstract | Disconnect()Releases this connection so that its resources may be either reused or closed. | |
SetChunkedStreamingMode(int)Stream a request body whose length is not known in advance. | ||
SetFixedLengthStreamingMode(int)Equivalent to setFixedLengthStreamingMode((long) contentLength), but available on earlier versions of Android and limited to 2 GiB. | ||
SetFixedLengthStreamingMode(long)Configures this connection to stream the request body with the known fixed byte count of contentLength. | ||
abstract | UsingProxy()Returns whether this connection uses a proxy server or not. |