HttpStatus abstract class

HTTP status codes.

Constants

ACCEPTEDint
202
BAD_GATEWAYint
502
BAD_REQUESTint
400
CONFLICTint
409
CONTINUEint
100
CREATEDint
201
EXPECTATION_FAILEDint
417
FORBIDDENint
403
FOUNDint
302
GATEWAY_TIMEOUTint
504
GONEint
410
HTTP_VERSION_NOT_SUPPORTEDint
505
INTERNAL_SERVER_ERRORint
500
LENGTH_REQUIREDint
411
METHOD_NOT_ALLOWEDint
405
MOVED_PERMANENTLYint
301
MOVED_TEMPORARILYint
302
MULTIPLE_CHOICESint
300
NETWORK_CONNECT_TIMEOUT_ERRORint
599
NO_CONTENTint
204
NON_AUTHORITATIVE_INFORMATIONint
203
NOT_ACCEPTABLEint
406
NOT_FOUNDint
404
NOT_IMPLEMENTEDint
501
NOT_MODIFIEDint
304
OKint
200
PARTIAL_CONTENTint
206
PAYMENT_REQUIREDint
402
PRECONDITION_FAILEDint
412
PROXY_AUTHENTICATION_REQUIREDint
407
REQUEST_ENTITY_TOO_LARGEint
413
REQUEST_TIMEOUTint
408
REQUEST_URI_TOO_LONGint
414
REQUESTED_RANGE_NOT_SATISFIABLEint
416
RESET_CONTENTint
205
SEE_OTHERint
303
SERVICE_UNAVAILABLEint
503
SWITCHING_PROTOCOLSint
101
TEMPORARY_REDIRECTint
307
UNAUTHORIZEDint
401
UNSUPPORTED_MEDIA_TYPEint
415
USE_PROXYint
305

Constructors

HttpStatus()

Properties

hashCodeint
read-only, inherited

The hash code for this object.

runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns a string representation of this object.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/HttpStatus-class.html