dart / 1 / dart-io / httpstatus-class.html

HttpStatus abstract class

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
read-only, inherited

The hash code for this object.

runtimeType → Type
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