HttpStatus class abstract

HTTP status codes. Exported in dart:io and dart:html.

Constructors

HttpStatus()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

ACCEPTED → const int
accepted
accepted → const int
202
alreadyReported → const int
208
BAD_GATEWAY → const int
badGateway
BAD_REQUEST → const int
badRequest
badGateway → const int
502
badRequest → const int
400
clientClosedRequest → const int
499
CONFLICT → const int
conflict
conflict → const int
409
connectionClosedWithoutResponse → const int
444
CONTINUE → const int
continue_
continue_ → const int
100
CREATED → const int
created
created → const int
201
EXPECTATION_FAILED → const int
expectationFailed
expectationFailed → const int
417
failedDependency → const int
424
FORBIDDEN → const int
forbidden
forbidden → const int
403
FOUND → const int
found
found → const int
302
GATEWAY_TIMEOUT → const int
gatewayTimeout
gatewayTimeout → const int
504
GONE → const int
gone
gone → const int
410
HTTP_VERSION_NOT_SUPPORTED → const int
httpVersionNotSupported
httpVersionNotSupported → const int
505
imUsed → const int
226
insufficientStorage → const int
507
INTERNAL_SERVER_ERROR → const int
internalServerError
internalServerError → const int
500
LENGTH_REQUIRED → const int
lengthRequired
lengthRequired → const int
411
locked → const int
423
loopDetected → const int
508
METHOD_NOT_ALLOWED → const int
methodNotAllowed
methodNotAllowed → const int
405
misdirectedRequest → const int
421
MOVED_PERMANENTLY → const int
movedPermanently
MOVED_TEMPORARILY → const int
movedTemporarily
movedPermanently → const int
301
movedTemporarily → const int
302
MULTIPLE_CHOICES → const int
multipleChoices
multipleChoices → const int
300
multiStatus → const int
207
NETWORK_CONNECT_TIMEOUT_ERROR → const int
networkConnectTimeoutError
networkAuthenticationRequired → const int
511
networkConnectTimeoutError → const int
599
NO_CONTENT → const int
noContent
noContent → const int
204
NON_AUTHORITATIVE_INFORMATION → const int
nonAuthoritativeInformation
nonAuthoritativeInformation → const int
203
NOT_ACCEPTABLE → const int
notAcceptable
NOT_FOUND → const int
notFound
NOT_IMPLEMENTED → const int
notImplemented
NOT_MODIFIED → const int
notModified
notAcceptable → const int
406
notExtended → const int
510
notFound → const int
404
notImplemented → const int
501
notModified → const int
304
OK → const int
ok
ok → const int
200
PARTIAL_CONTENT → const int
partialContent
partialContent → const int
206
PAYMENT_REQUIRED → const int
paymentRequired
paymentRequired → const int
402
permanentRedirect → const int
308
PRECONDITION_FAILED → const int
preconditionFailed
preconditionFailed → const int
412
preconditionRequired → const int
428
processing → const int
102
PROXY_AUTHENTICATION_REQUIRED → const int
proxyAuthenticationRequired
proxyAuthenticationRequired → const int
407
REQUEST_ENTITY_TOO_LARGE → const int
requestEntityTooLarge
REQUEST_TIMEOUT → const int
requestTimeout
REQUEST_URI_TOO_LONG → const int
requestUriTooLong
REQUESTED_RANGE_NOT_SATISFIABLE → const int
requestedRangeNotSatisfiable
requestedRangeNotSatisfiable → const int
416
requestEntityTooLarge → const int
413
requestHeaderFieldsTooLarge → const int
431
requestTimeout → const int
408
requestUriTooLong → const int
414
RESET_CONTENT → const int
resetContent
resetContent → const int
205
SEE_OTHER → const int
seeOther
seeOther → const int
303
SERVICE_UNAVAILABLE → const int
serviceUnavailable
serviceUnavailable → const int
503
SWITCHING_PROTOCOLS → const int
switchingProtocols
switchingProtocols → const int
101
TEMPORARY_REDIRECT → const int
temporaryRedirect
temporaryRedirect → const int
307
tooManyRequests → const int
429
UNAUTHORIZED → const int
unauthorized
unauthorized → const int
401
unavailableForLegalReasons → const int
451
unprocessableEntity → const int
422
UNSUPPORTED_MEDIA_TYPE → const int
unsupportedMediaType
unsupportedMediaType → const int
415
UPGRADE_REQUIRED → const int
upgradeRequired
upgradeRequired → const int
426
USE_PROXY → const int
useProxy
useProxy → const int
305
variantAlsoNegotiates → const int
506