Udostępnij za pośrednictwem


HttpStatus Class

Definition

Caution

Use the 'Org.Apache.Http.IHttpStatus' type. This class will be removed in a future release.

Constants enumerating the HTTP status codes.

[Android.Runtime.Register("org/apache/http/HttpStatus", DoNotGenerateAcw=true)]
[System.Obsolete("Use the 'Org.Apache.Http.IHttpStatus' type. This class will be removed in a future release.")]
public abstract class HttpStatus : Java.Lang.Object
[<Android.Runtime.Register("org/apache/http/HttpStatus", DoNotGenerateAcw=true)>]
[<System.Obsolete("Use the 'Org.Apache.Http.IHttpStatus' type. This class will be removed in a future release.")>]
type HttpStatus = class
    inherit Object
Inheritance
HttpStatus
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
Obsolete.

202 Accepted (HTTP/1.

ScBadGateway
Obsolete.

502 Bad Gateway (HTTP/1.

ScBadRequest
Obsolete.

400 Bad Request (HTTP/1.

ScConflict
Obsolete.

409 Conflict (HTTP/1.

ScContinue
Obsolete.

100 Continue (HTTP/1.

ScCreated
Obsolete.

201 Created (HTTP/1.

ScExpectationFailed
Obsolete.

417 Expectation Failed (HTTP/1.

ScFailedDependency
Obsolete.

424 Failed Dependency (WebDAV - RFC 2518)

ScForbidden
Obsolete.

403 Forbidden (HTTP/1.

ScGatewayTimeout
Obsolete.

504 Gateway Timeout (HTTP/1.

ScGone
Obsolete.

410 Gone (HTTP/1.

ScHttpVersionNotSupported
Obsolete.

505 HTTP Version Not Supported (HTTP/1.

ScInsufficientSpaceOnResource
Obsolete.

Static constant for a 419 error.

ScInsufficientStorage
Obsolete.

507 Insufficient Storage (WebDAV - RFC 2518)

ScInternalServerError
Obsolete.

500 Server Error (HTTP/1.

ScLengthRequired
Obsolete.

411 Length Required (HTTP/1.

ScLocked
Obsolete.

423 Locked (WebDAV - RFC 2518)

ScMethodFailure
Obsolete.

Static constant for a 420 error.

ScMethodNotAllowed
Obsolete.

405 Method Not Allowed (HTTP/1.

ScMovedPermanently
Obsolete.

301 Moved Permanently (HTTP/1.

ScMovedTemporarily
Obsolete.

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

ScMultipleChoices
Obsolete.

300 Mutliple Choices (HTTP/1.

ScMultiStatus
Obsolete.

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

ScNoContent
Obsolete.

204 No Content (HTTP/1.

ScNonAuthoritativeInformation
Obsolete.

203 Non Authoritative Information (HTTP/1.

ScNotAcceptable
Obsolete.

406 Not Acceptable (HTTP/1.

ScNotFound
Obsolete.

404 Not Found (HTTP/1.

ScNotImplemented
Obsolete.

501 Not Implemented (HTTP/1.

ScNotModified
Obsolete.

304 Not Modified (HTTP/1.

ScOk
Obsolete.

200 OK (HTTP/1.

ScPartialContent
Obsolete.

206 Partial Content (HTTP/1.

ScPaymentRequired
Obsolete.

402 Payment Required (HTTP/1.

ScPreconditionFailed
Obsolete.

412 Precondition Failed (HTTP/1.

ScProcessing
Obsolete.

102 Processing (WebDAV - RFC 2518)

ScProxyAuthenticationRequired
Obsolete.

407 Proxy Authentication Required (HTTP/1.

ScRequestedRangeNotSatisfiable
Obsolete.

416 Requested Range Not Satisfiable (HTTP/1.

ScRequestTimeout
Obsolete.

408 Request Timeout (HTTP/1.

ScRequestTooLong
Obsolete.

413 Request Entity Too Large (HTTP/1.

ScRequestUriTooLong
Obsolete.

414 Request-URI Too Long (HTTP/1.

ScResetContent
Obsolete.

205 Reset Content (HTTP/1.

ScSeeOther
Obsolete.

303 See Other (HTTP/1.

ScServiceUnavailable
Obsolete.

503 Service Unavailable (HTTP/1.

ScSwitchingProtocols
Obsolete.

101 Switching Protocols (HTTP/1.

ScTemporaryRedirect
Obsolete.

307 Temporary Redirect (HTTP/1.

ScUnauthorized
Obsolete.

401 Unauthorized (HTTP/1.

ScUnprocessableEntity
Obsolete.

422 Unprocessable Entity (WebDAV - RFC 2518)

ScUnsupportedMediaType
Obsolete.

415 Unsupported Media Type (HTTP/1.

ScUseProxy
Obsolete.

305 Use Proxy (HTTP/1.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers (Inherited from Object)
PeerReference (Inherited from Object)
ThresholdClass

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

(Inherited from Object)
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()

Creates and returns a copy of this object.

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

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

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

Returns a string representation of the object.

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

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

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

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to