HttpStatus 类

定义

注意

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

枚举 HTTP 状态代码的常量。

[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
继承
HttpStatus
属性

注解

Android 平台文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

字段

ScAccepted
已过时.

202 Accepted (HTTP/1.

ScBadGateway
已过时.

502 Bad Gateway (HTTP/1.

ScBadRequest
已过时.

400 Bad Request (HTTP/1.

ScConflict
已过时.

409 Conflict (HTTP/1.

ScContinue
已过时.

100 Continue (HTTP/1.

ScCreated
已过时.

201 Created (HTTP/1.

ScExpectationFailed
已过时.

417 Expectation Failed (HTTP/1.

ScFailedDependency
已过时.

424 Failed Dependency (WebDAV - RFC 2518)

ScForbidden
已过时.

403 Forbidden (HTTP/1.

ScGatewayTimeout
已过时.

504 Gateway Timeout (HTTP/1.

ScGone
已过时.

410 Gone (HTTP/1.

ScHttpVersionNotSupported
已过时.

505 HTTP Version Not Supported (HTTP/1.

ScInsufficientSpaceOnResource
已过时.

419 错误的静态常量。

ScInsufficientStorage
已过时.

507 Insufficient Storage (WebDAV - RFC 2518)

ScInternalServerError
已过时.

500 Server Error (HTTP/1.

ScLengthRequired
已过时.

411 Length Required (HTTP/1.

ScLocked
已过时.

423 Locked (WebDAV - RFC 2518)

ScMethodFailure
已过时.

420 错误的静态常量。

ScMethodNotAllowed
已过时.

405 Method Not Allowed (HTTP/1.

ScMovedPermanently
已过时.

301 Moved Permanently (HTTP/1.

ScMovedTemporarily
已过时.

302 Moved Temporarily (有时 Found)(HTTP/1.

ScMultipleChoices
已过时.

300 Mutliple Choices (HTTP/1.

ScMultiStatus
已过时.

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

ScNoContent
已过时.

204 No Content (HTTP/1.

ScNonAuthoritativeInformation
已过时.

203 Non Authoritative Information (HTTP/1.

ScNotAcceptable
已过时.

406 Not Acceptable (HTTP/1.

ScNotFound
已过时.

404 Not Found (HTTP/1.

ScNotImplemented
已过时.

501 Not Implemented (HTTP/1.

ScNotModified
已过时.

304 Not Modified (HTTP/1.

ScOk
已过时.

200 OK (HTTP/1.

ScPartialContent
已过时.

206 Partial Content (HTTP/1.

ScPaymentRequired
已过时.

402 Payment Required (HTTP/1.

ScPreconditionFailed
已过时.

412 Precondition Failed (HTTP/1.

ScProcessing
已过时.

102 Processing (WebDAV - RFC 2518)

ScProxyAuthenticationRequired
已过时.

407 Proxy Authentication Required (HTTP/1.

ScRequestedRangeNotSatisfiable
已过时.

416 Requested Range Not Satisfiable (HTTP/1.

ScRequestTimeout
已过时.

408 Request Timeout (HTTP/1.

ScRequestTooLong
已过时.

413 Request Entity Too Large (HTTP/1.

ScRequestUriTooLong
已过时.

414 Request-URI Too Long (HTTP/1.

ScResetContent
已过时.

205 Reset Content (HTTP/1.

ScSeeOther
已过时.

303 See Other (HTTP/1.

ScServiceUnavailable
已过时.

503 Service Unavailable (HTTP/1.

ScSwitchingProtocols
已过时.

101 Switching Protocols (HTTP/1.

ScTemporaryRedirect
已过时.

307 Temporary Redirect (HTTP/1.

ScUnauthorized
已过时.

401 Unauthorized (HTTP/1.

ScUnprocessableEntity
已过时.

422 Unprocessable Entity (WebDAV - RFC 2518)

ScUnsupportedMediaType
已过时.

415 Unsupported Media Type (HTTP/1.

ScUseProxy
已过时.

305 Use Proxy (HTTP/1.

属性

Class
已过时.

返回此 Object的运行时类。

(继承自 Object)
Handle
已过时.

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
JniPeerMembers
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
PeerReference
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
ThresholdClass
已过时.

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

(继承自 Object)
ThresholdType
已过时.

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

(继承自 Object)

方法

Clone()
已过时.

创建并返回此对象的副本。

(继承自 Object)
Dispose()
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
Dispose(Boolean)
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
Equals(Object)
已过时.

指示其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()
已过时.

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()
已过时.

当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()
已过时.

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()
已过时.

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)
已过时.

设置 Handle 属性。

(继承自 Object)
ToArray<T>()
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
ToString()
已过时.

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
Wait()
已过时.

使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<><

(继承自 Object)
Wait(Int64)
已过时.

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)
Wait(Int64, Int32)
已过时.

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
IJavaPeerable.Finalized()
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
IJavaPeerable.JniManagedPeerState
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)
已过时.

枚举 HTTP 状态代码的常量。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)
已过时.

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)
已过时.

枚举 HTTP 状态代码的常量。

GetJniTypeName(IJavaPeerable)
已过时.

枚举 HTTP 状态代码的常量。

适用于