HttpStatus HttpStatus Class

Definition

Constants enumerating the HTTP status codes.

[Android.Runtime.Register("org/apache/http/HttpStatus", ApiSince=1, DoNotGenerateAcw=true)]
public abstract class HttpStatus : Java.Lang.Object
type HttpStatus = class
    inherit Object
Inheritance
HttpStatusHttpStatus
Derived
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

ScAccepted ScAccepted

202 Accepted (HTTP/1.

ScBadGateway ScBadGateway

502 Bad Gateway (HTTP/1.

ScBadRequest ScBadRequest

400 Bad Request (HTTP/1.

ScConflict ScConflict

409 Conflict (HTTP/1.

ScContinue ScContinue

100 Continue (HTTP/1.

ScCreated ScCreated

201 Created (HTTP/1.

ScExpectationFailed ScExpectationFailed

417 Expectation Failed (HTTP/1.

ScFailedDependency ScFailedDependency

424 Failed Dependency (WebDAV - RFC 2518)

ScForbidden ScForbidden

403 Forbidden (HTTP/1.

ScGatewayTimeout ScGatewayTimeout

504 Gateway Timeout (HTTP/1.

ScGone ScGone

410 Gone (HTTP/1.

ScHttpVersionNotSupported ScHttpVersionNotSupported

505 HTTP Version Not Supported (HTTP/1.

ScInsufficientSpaceOnResource ScInsufficientSpaceOnResource

Static constant for a 419 error.

ScInsufficientStorage ScInsufficientStorage

507 Insufficient Storage (WebDAV - RFC 2518)

ScInternalServerError ScInternalServerError

500 Server Error (HTTP/1.

ScLengthRequired ScLengthRequired

411 Length Required (HTTP/1.

ScLocked ScLocked

423 Locked (WebDAV - RFC 2518)

ScMethodFailure ScMethodFailure

Static constant for a 420 error.

ScMethodNotAllowed ScMethodNotAllowed

405 Method Not Allowed (HTTP/1.

ScMovedPermanently ScMovedPermanently

301 Moved Permanently (HTTP/1.

ScMovedTemporarily ScMovedTemporarily

302 Moved Temporarily (Sometimes Found) (HTTP/1.

ScMultipleChoices ScMultipleChoices

300 Mutliple Choices (HTTP/1.

ScMultiStatus ScMultiStatus

207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)

ScNoContent ScNoContent

204 No Content (HTTP/1.

ScNonAuthoritativeInformation ScNonAuthoritativeInformation

203 Non Authoritative Information (HTTP/1.

ScNotAcceptable ScNotAcceptable

406 Not Acceptable (HTTP/1.

ScNotFound ScNotFound

404 Not Found (HTTP/1.

ScNotImplemented ScNotImplemented

501 Not Implemented (HTTP/1.

ScNotModified ScNotModified

304 Not Modified (HTTP/1.

ScOk ScOk

200 OK (HTTP/1.

ScPartialContent ScPartialContent

206 Partial Content (HTTP/1.

ScPaymentRequired ScPaymentRequired

402 Payment Required (HTTP/1.

ScPreconditionFailed ScPreconditionFailed

412 Precondition Failed (HTTP/1.

ScProcessing ScProcessing

102 Processing (WebDAV - RFC 2518)

ScProxyAuthenticationRequired ScProxyAuthenticationRequired

407 Proxy Authentication Required (HTTP/1.

ScRequestedRangeNotSatisfiable ScRequestedRangeNotSatisfiable

416 Requested Range Not Satisfiable (HTTP/1.

ScRequestTimeout ScRequestTimeout

408 Request Timeout (HTTP/1.

ScRequestTooLong ScRequestTooLong

413 Request Entity Too Large (HTTP/1.

ScRequestUriTooLong ScRequestUriTooLong

414 Request-URI Too Long (HTTP/1.

ScResetContent ScResetContent

205 Reset Content (HTTP/1.

ScSeeOther ScSeeOther

303 See Other (HTTP/1.

ScServiceUnavailable ScServiceUnavailable

503 Service Unavailable (HTTP/1.

ScSwitchingProtocols ScSwitchingProtocols

101 Switching Protocols (HTTP/1.

ScTemporaryRedirect ScTemporaryRedirect

307 Temporary Redirect (HTTP/1.

ScUnauthorized ScUnauthorized

401 Unauthorized (HTTP/1.

ScUnprocessableEntity ScUnprocessableEntity

422 Unprocessable Entity (WebDAV - RFC 2518)

ScUnsupportedMediaType ScUnsupportedMediaType

415 Unsupported Media Type (HTTP/1.

ScUseProxy ScUseProxy

305 Use Proxy (HTTP/1.

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers Inherited from Object
PeerReference PeerReference Inherited from Object
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to