HTTP status codes.

Constants

ACCEPTED int

202
BAD_GATEWAY int

502
BAD_REQUEST int

400
CONFLICT int

409
CONTINUE int

100
CREATED int

201
EXPECTATION_FAILED int

417
FORBIDDEN int

403
FOUND int

302
GATEWAY_TIMEOUT int

504
GONE int

410
HTTP_VERSION_NOT_SUPPORTED int

505
INTERNAL_SERVER_ERROR int

500
LENGTH_REQUIRED int

411
METHOD_NOT_ALLOWED int

405
MOVED_PERMANENTLY int

301
MOVED_TEMPORARILY int

302
MULTIPLE_CHOICES int

300
NETWORK_CONNECT_TIMEOUT_ERROR int

599
NO_CONTENT int

204
NON_AUTHORITATIVE_INFORMATION int

203
NOT_ACCEPTABLE int

406
NOT_FOUND int

404
NOT_IMPLEMENTED int

501
NOT_MODIFIED int

304
OK int

200
PARTIAL_CONTENT int

206
PAYMENT_REQUIRED int

402
PRECONDITION_FAILED int

412
PROXY_AUTHENTICATION_REQUIRED int

407
REQUEST_ENTITY_TOO_LARGE int

413
REQUEST_TIMEOUT int

408
REQUEST_URI_TOO_LONG int

414
REQUESTED_RANGE_NOT_SATISFIABLE int

416
RESET_CONTENT int

205
SEE_OTHER int

303
SERVICE_UNAVAILABLE int

503
SWITCHING_PROTOCOLS int

101
TEMPORARY_REDIRECT int

307
UNAUTHORIZED int

401
UNSUPPORTED_MEDIA_TYPE int

415
USE_PROXY int

305

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

Operators

operator ==(other) bool

The equality operator.

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