HttpStatus class

HTTP status codes.

Constructors

HttpStatus()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

ACCEPTED → const int
202
BAD_GATEWAY → const int
502
BAD_REQUEST → const int
400
CONFLICT → const int
409
CONTINUE → const int
100
CREATED → const int
201
EXPECTATION_FAILED → const int
417
FORBIDDEN → const int
403
FOUND → const int
302
GATEWAY_TIMEOUT → const int
504
GONE → const int
410
HTTP_VERSION_NOT_SUPPORTED → const int
505
INTERNAL_SERVER_ERROR → const int
500
LENGTH_REQUIRED → const int
411
METHOD_NOT_ALLOWED → const int
405
MOVED_PERMANENTLY → const int
301
MOVED_TEMPORARILY → const int
302
MULTIPLE_CHOICES → const int
300
NETWORK_CONNECT_TIMEOUT_ERROR → const int
599
NO_CONTENT → const int
204
NON_AUTHORITATIVE_INFORMATION → const int
203
NOT_ACCEPTABLE → const int
406
NOT_FOUND → const int
404
NOT_IMPLEMENTED → const int
501
NOT_MODIFIED → const int
304
OK → const int
200
PARTIAL_CONTENT → const int
206
PAYMENT_REQUIRED → const int
402
PRECONDITION_FAILED → const int
412
PROXY_AUTHENTICATION_REQUIRED → const int
407
REQUEST_ENTITY_TOO_LARGE → const int
413
REQUEST_TIMEOUT → const int
408
REQUEST_URI_TOO_LONG → const int
414
REQUESTED_RANGE_NOT_SATISFIABLE → const int
416
RESET_CONTENT → const int
205
SEE_OTHER → const int
303
SERVICE_UNAVAILABLE → const int
503
SWITCHING_PROTOCOLS → const int
101
TEMPORARY_REDIRECT → const int
307
UNAUTHORIZED → const int
401
UNSUPPORTED_MEDIA_TYPE → const int
415
UPGRADE_REQUIRED → const int
426
USE_PROXY → const int
305