HTTP 状态码。在 dart:io 和 dart:html 中导出。
构造函数
属性
- hashCode → int
- 此对象的哈希码。无设置器继承
- runtimeType → Type
- 对象运行时的表现。无设置器继承
方法
-
noSuchMethod(
Invocation invocation) → dynamic - 当访问不存在的方法或属性时被调用。继承
-
toString(
) → String - 此对象的字符串表示。继承
操作符
-
operator ==(
Object other) → bool - 相等运算符。继承
常量
- ACCEPTED → const int
- accepted → const int
- alreadyReported → const int
- BAD_GATEWAY → const int
- BAD_REQUEST → const int
- badGateway → const int
- badRequest → const int
- clientClosedRequest → const int
- CONFLICT → const int
- conflict → const int
- connectionClosedWithoutResponse → const int
- CONTINUE → const int
- continue_ → const int
- CREATED → const int
- created → const int
- EXPECTATION_FAILED → const int
- expectationFailed → const int
- failedDependency → const int
- FORBIDDEN → const int
- forbidden → const int
- FOUND → const int
- found → const int
- GATEWAY_TIMEOUT → const int
- gatewayTimeout → const int
- GONE → const int
- gone → const int
- HTTP_VERSION_NOT_SUPPORTED → const int
- httpVersionNotSupported → const int
- imUsed → const int
- insufficientStorage → const int
- INTERNAL_SERVER_ERROR → const int
- internalServerError → const int
- LENGTH_REQUIRED → const int
- lengthRequired → const int
- locked → const int
- loopDetected → const int
- METHOD_NOT_ALLOWED → const int
- methodNotAllowed → const int
- misdirectedRequest → const int
- MOVED_PERMANENTLY → const int
- MOVED_TEMPORARILY → const int
- movedPermanently → const int
- movedTemporarily → const int
- MULTIPLE_CHOICES → const int
- multipleChoices → const int
- multiStatus → const int
- NETWORK_CONNECT_TIMEOUT_ERROR → const int
- networkAuthenticationRequired → const int
- networkConnectTimeoutError → const int
- NO_CONTENT → const int
- noContent → const int
- NON_AUTHORITATIVE_INFORMATION → const int
- nonAuthoritativeInformation → const int
- NOT_ACCEPTABLE → const int
- NOT_FOUND → const int
- NOT_IMPLEMENTED → const int
- NOT_MODIFIED → const int
- notAcceptable → const int
- notExtended → const int
- notFound → const int
- notImplemented → const int
- notModified → const int
- OK → const int
- ok → const int
- PARTIAL_CONTENT → const int
- partialContent → const int
- PAYMENT_REQUIRED → const int
- paymentRequired → const int
- permanentRedirect → const int
- PRECONDITION_FAILED → const int
- preconditionFailed → const int
- preconditionRequired → const int
- processing → const int
- PROXY_AUTHENTICATION_REQUIRED → const int
- proxyAuthenticationRequired → const int
- REQUEST_ENTITY_TOO_LARGE → const int
- REQUEST_TIMEOUT → const int
- REQUEST_URI_TOO_LONG → const int
- REQUESTED_RANGE_NOT_SATISFIABLE → const int
- requestedRangeNotSatisfiable → const int
- requestEntityTooLarge → const int
- requestHeaderFieldsTooLarge → const int
- requestTimeout → const int
- requestUriTooLong → const int
- RESET_CONTENT → const int
- resetContent → const int
- SEE_OTHER → const int
- seeOther → const int
- SERVICE_UNAVAILABLE → const int
- SWITCHING_PROTOCOLS → const int
- switchingProtocols → const int
- TEMPORARY_REDIRECT → const int
- temporaryRedirect → const int
- tooManyRequests → const int
- UNAUTHORIZED → const int
- 不可处理实体 → const 整数
- 不支持媒体类型 → const 整数
- 不支持的媒体类型 → const 整数
- 需要升级 → const 整数
- 需要升级 → const 整数
- 使用代理 → const 整数
- 使用代理 → const 整数
- 版本也进行协商 → const 整数