HTTP status codes.

Constants

int ACCEPTED = 202
const

int BAD_GATEWAY = 502
const

int BAD_REQUEST = 400
const

int CONFLICT = 409
const

int CONTINUE = 100
const

int CREATED = 201
const

int EXPECTATION_FAILED = 417
const

int FORBIDDEN = 403
const

int FOUND = 302
const

int GATEWAY_TIMEOUT = 504
const

int GONE = 410
const

int HTTP_VERSION_NOT_SUPPORTED = 505
const

int INTERNAL_SERVER_ERROR = 500
const

int LENGTH_REQUIRED = 411
const

int METHOD_NOT_ALLOWED = 405
const

int MOVED_PERMANENTLY = 301
const

int MOVED_TEMPORARILY = 302
const

int MULTIPLE_CHOICES = 300
const

int NETWORK_CONNECT_TIMEOUT_ERROR = 599
const

int NON_AUTHORITATIVE_INFORMATION = 203
const

int NOT_ACCEPTABLE = 406
const

int NOT_FOUND = 404
const

int NOT_IMPLEMENTED = 501
const

int NOT_MODIFIED = 304
const

int NO_CONTENT = 204
const

int OK = 200
const

int PARTIAL_CONTENT = 206
const

int PAYMENT_REQUIRED = 402
const

int PRECONDITION_FAILED = 412
const

int PROXY_AUTHENTICATION_REQUIRED = 407
const

int REQUESTED_RANGE_NOT_SATISFIABLE = 416
const

int REQUEST_ENTITY_TOO_LARGE = 413
const

int REQUEST_TIMEOUT = 408
const

int REQUEST_URI_TOO_LONG = 414
const

int RESET_CONTENT = 205
const

int SEE_OTHER = 303
const

int SERVICE_UNAVAILABLE = 503
const

int SWITCHING_PROTOCOLS = 101
const

int TEMPORARY_REDIRECT = 307
const

int UNAUTHORIZED = 401
const

int UNSUPPORTED_MEDIA_TYPE = 415
const

int USE_PROXY = 305
const

Constructors

HttpStatus()