HTTP status codes.

Constants

ACCEPTED int

const 202
BAD_GATEWAY int

const 502
BAD_REQUEST int

const 400
CONFLICT int

const 409
CONTINUE int

const 100
CREATED int

const 201
EXPECTATION_FAILED int

const 417
FORBIDDEN int

const 403
FOUND int

const 302
GATEWAY_TIMEOUT int

const 504
GONE int

const 410
HTTP_VERSION_NOT_SUPPORTED int

const 505
INTERNAL_SERVER_ERROR int

const 500
LENGTH_REQUIRED int

const 411
METHOD_NOT_ALLOWED int

const 405
MOVED_PERMANENTLY int

const 301
MOVED_TEMPORARILY int

const 302
MULTIPLE_CHOICES int

const 300
NETWORK_CONNECT_TIMEOUT_ERROR int

const 599
NO_CONTENT int

const 204
NON_AUTHORITATIVE_INFORMATION int

const 203
NOT_ACCEPTABLE int

const 406
NOT_FOUND int

const 404
NOT_IMPLEMENTED int

const 501
NOT_MODIFIED int

const 304
OK int

const 200
PARTIAL_CONTENT int

const 206
PAYMENT_REQUIRED int

const 402
PRECONDITION_FAILED int

const 412
PROXY_AUTHENTICATION_REQUIRED int

const 407
REQUEST_ENTITY_TOO_LARGE int

const 413
REQUEST_TIMEOUT int

const 408
REQUEST_URI_TOO_LONG int

const 414
REQUESTED_RANGE_NOT_SATISFIABLE int

const 416
RESET_CONTENT int

const 205
SEE_OTHER int

const 303
SERVICE_UNAVAILABLE int

const 503
SWITCHING_PROTOCOLS int

const 101
TEMPORARY_REDIRECT int

const 307
UNAUTHORIZED int

const 401
UNSUPPORTED_MEDIA_TYPE int

const 415
USE_PROXY int

const 305

Constructors

HttpStatus()

Properties

hashCode int

Get a 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