HttpStatus 枚举

定义

枚举多个类型返回的值,并将其作为 F:Java.Net.HttpRetryException 的参数。ctorF: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 属性许可证中所述的术语使用。

适用于