HttpStatus 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉數種型別所傳回的值,並當作 F:Java.Net.HttpRetryException.的參數 。ctor 和 F:Java.Net.HttpRetryException.。ctor 成員。
public enum HttpStatus
type HttpStatus =
- 繼承
-
HttpStatus
欄位
| 名稱 | 值 | Description |
|---|---|---|
| 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 屬性授權中所述的詞彙使用。