HttpStatus Enum
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
枚举多个类型返回的值,并将其作为 F:Java.Net.HttpRetryException 的参数。ctor 和 F:Java.Net.HttpRetryException.。ctor 成员。
public enum HttpStatus
type HttpStatus =
- 继承
-
HttpStatus
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Ok | 200 | |
| Created | 201 | |
| Accepted | 202 | |
| NotAuthoritative | 203 | |
| NoContent | 204 | |
| Reset | 205 | |
| Partial | 206 | |
| MultChoice | 300 | |
| MovedPerm | 301 | |
| MovedTemp | 302 | |
| SeeOther | 303 | |
| NotModified | 304 | |
| UseProxy | 305 | |
| BadRequest | 400 | |
| Unauthorized | 401 | |
| PaymentRequired | 402 | |
| Forbidden | 403 | |
| NotFound | 404 | |
| BadMethod | 405 | |
| NotAcceptable | 406 | |
| ProxyAuth | 407 | |
| ClientTimeout | 408 | |
| Conflict | 409 | |
| Gone | 410 | |
| LengthRequired | 411 | |
| PreconFailed | 412 | |
| EntityTooLarge | 413 | |
| ReqTooLong | 414 | |
| UnsupportedType | 415 | |
| InternalError | 500 | |
| ServerError | 500 | |
| NotImplemented | 501 | |
| BadGateway | 502 | |
| Unavailable | 503 | |
| GatewayTimeout | 504 | |
| Version | 505 |
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。