Enumeration HTTPStatus

Enum of HTTP statuses.

Example

HTTPStatus.http200 // => 200

Example

HTTPStatus.REQUEST_TIMEOUT // => 408

Enumeration Members

ACCEPTED: 202
BAD_GATEWAY: 502
BAD_REQUEST: 400
CONFLICT: 409
CONTINUE: 100
CREATED: 201
EXPECTATION_FAILED: 417
FAILED_DEPENDENCY: 424
FORBIDDEN: 403
GATEWAY_TIMEOUT: 504
GONE: 410
HTTP_VERSION_NOT_SUPPORTED: 505
IM_A_TEAPOT: 418
INSUFFICIENT_SPACE_ON_RESOURCE: 419
INSUFFICIENT_STORAGE: 507
INTERNAL_SERVER_ERROR: 500
LENGTH_REQUIRED: 411
LOCKED: 423
METHOD_FAILURE: 420
METHOD_NOT_ALLOWED: 405
MOVED_PERMANENTLY: 301
MOVED_TEMPORARILY: 302
MULTIPLE_CHOICES: 300
MULTI_STATUS: 207
NETWORK_AUTHENTICATION_REQUIRED: 511
NON_AUTHORITATIVE_INFORMATION: 203
NOT_ACCEPTABLE: 406
NOT_FOUND: 404
NOT_IMPLEMENTED: 501
NOT_MODIFIED: 304
NO_CONTENT: 204
OK: 200
PARTIAL_CONTENT: 206
PAYMENT_REQUIRED: 402
PERMANENT_REDIRECT: 308
PRECONDITION_FAILED: 412
PRECONDITION_REQUIRED: 428
PROCESSING: 102
PROXY_AUTHENTICATION_REQUIRED: 407
REQUESTED_RANGE_NOT_SATISFIABLE: 416
REQUEST_HEADER_FIELDS_TOO_LARGE: 431
REQUEST_TIMEOUT: 408
REQUEST_TOO_LONG: 413
REQUEST_URI_TOO_LONG: 414
RESET_CONTENT: 205
SEE_OTHER: 303
SERVICE_UNAVAILABLE: 503
SWITCHING_PROTOCOLS: 101
TEMPORARY_REDIRECT: 307
TOO_MANY_REQUESTS: 429
UNAUTHORIZED: 401
UNPROCESSABLE_ENTITY: 422
UNSUPPORTED_MEDIA_TYPE: 415
USE_PROXY: 305
http100: 100
http101: 101
http102: 102
http200: 200
http201: 201
http202: 202
http203: 203
http204: 204
http205: 205
http206: 206
http207: 207
http300: 300
http301: 301
http302: 302
http303: 303
http304: 304
http305: 305
http307: 307
http308: 308
http400: 400
http401: 401
http402: 402
http403: 403
http404: 404
http405: 405
http406: 406
http407: 407
http408: 408
http409: 409
http410: 410
http411: 411
http412: 412
http413: 413
http414: 414
http415: 415
http416: 416
http417: 417
http418: 418
http419: 419
http420: 420
http422: 422
http423: 423
http424: 424
http428: 428
http429: 429
http431: 431
http500: 500
http501: 501
http502: 502
http503: 503
http504: 504
http505: 505
http507: 507
http511: 511