Package org.htmlunit.http
Class HttpStatus
- java.lang.Object
-
- org.htmlunit.http.HttpStatus
-
public final class HttpStatus extends java.lang.Object
Http Status Codes.- See Also:
- IANA HTTP Status Code Registry
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCEPTED_202
Accepted / 202.static int
BAD_GATEWAY_502
Bad Gateway / 502.static int
BAD_REQUEST_400
Bad Request / 400.static int
CONFLICT_409
Conflict / 409.static int
CONTINUE_100
Continue / 100.static int
CREATED_201
Created / 201.static int
ENHANCE_YOUR_CALM_420
Enhance Your Calm / 420.static int
EXPECTATION_FAILED_417
Expectation Failed / 417.static int
FAILED_DEPENDENCY_424
Failed Dependency / 424.static int
FORBIDDEN_403
Forbidden / 403.static int
FOUND_302
Found / 302.static int
GATEWAY_TIMEOUT_504
Gateway Timeout / 504.static int
GONE_410
Gone / 410.static int
HTTP_VERSION_NOT_SUPPORTED_505
Http Version Not Supported / 505.static int
IM_A_TEAPOT_418
Im A Teapot / 418.static int
INSUFFICIENT_STORAGE_507
Insufficient Storage / 507.static int
INTERNAL_SERVER_ERROR_500
Internal Server Error / 500.static int
LENGTH_REQUIRED_411
Length Required / 411.static int
LOCKED_423
Locked / 423.static int
LOOP_DETECTED_508
Loop Detected / 508.static int
METHOD_NOT_ALLOWED_405
Method Not Allowed / 405.static int
MISDIRECTED_REQUEST_421
Misdirected Request / 421.static int
MOVED_PERMANENTLY_301
Moved Permanently / 301.static int
MULTI_STATUS_207
Multi Status / 207.static int
MULTIPLE_CHOICES_300
Multiple Choices / 300.static int
NETWORK_AUTHENTICATION_REQUIRED_511
Network Authentication Required / 511.static int
NO_CONTENT_204
No Content / 204.static java.lang.String
NO_CONTENT_204_MSG
No Content / 204.static int
NON_AUTHORITATIVE_INFORMATION_203
Non Authoritative Information / 203.static int
NOT_ACCEPTABLE_406
Not Acceptable / 406.static int
NOT_EXTENDED_510
Not Extended / 510.static int
NOT_FOUND_404
Not Found / 404.static java.lang.String
NOT_FOUND_404_MSG
Not Found / 404.static int
NOT_IMPLEMENTED_501
Not Implemented / 501.static int
NOT_MODIFIED_304
Not Modified / 304.static int
OK_200
OK / 200.static java.lang.String
OK_200_MSG
OK / 200.static int
PARTIAL_CONTENT_206
Partial Content / 206.static int
PAYLOAD_TOO_LARGE_413
Payload Too Large / 413.static int
PAYMENT_REQUIRED_402
Payment Required / 402.static int
PERMANENT_REDIRECT_308
Permanent Redirect / 308.static int
PRECONDITION_FAILED_412
Precondition Failed / 412.static int
PRECONDITION_REQUIRED_428
Precondition Required / 428.static int
PROCESSING_102
Processing / 102.static int
PROXY_AUTHENTICATION_REQUIRED_407
Proxy Authentication Required / 407.static int
RANGE_NOT_SATISFIABLE_416
Range Not Satisfiable / 416.static int
REQUEST_HEADER_FIELDS_TOO_LARGE_431
Request Header Fields Too Large / 431.static int
REQUEST_TIMEOUT_408
Request Timeout / 408.static int
RESET_CONTENT_205
Reset Content / 205.static int
SEE_OTHER_303
See Other / 303.static int
SERVICE_UNAVAILABLE_503
Service Unavailable / 503.static int
SWITCHING_PROTOCOLS_101
Switching Protocols / 101.static int
TEMPORARY_REDIRECT_307
Temporary Redirect / 307.static int
TOO_MANY_REQUESTS_429
Too Many Requests / 429.static int
UNAUTHORIZED_401
Unauthorized / 401.static int
UNAVAILABLE_FOR_LEGAL_REASONS_451
Bad Unavailable For Legal Reasons / 451.static int
UNPROCESSABLE_ENTITY_422
Unprocessable Entity / 422.static int
UNSUPPORTED_MEDIA_TYPE_415
Unsupported Media Type / 415.static int
UPGRADE_REQUIRED_426
Update Required / 426.static int
URI_TOO_LONG_414
URI Too Long / 414.static int
USE_PROXY_305
Use Proxy / 305.
-
Constructor Summary
Constructors Modifier Constructor Description private
HttpStatus()
-
-
-
Field Detail
-
CONTINUE_100
public static final int CONTINUE_100
Continue / 100.- See Also:
- Constant Field Values
-
SWITCHING_PROTOCOLS_101
public static final int SWITCHING_PROTOCOLS_101
Switching Protocols / 101.- See Also:
- Constant Field Values
-
PROCESSING_102
public static final int PROCESSING_102
Processing / 102.- See Also:
- Constant Field Values
-
OK_200
public static final int OK_200
OK / 200.- See Also:
- Constant Field Values
-
OK_200_MSG
public static final java.lang.String OK_200_MSG
OK / 200.- See Also:
- Constant Field Values
-
CREATED_201
public static final int CREATED_201
Created / 201.- See Also:
- Constant Field Values
-
ACCEPTED_202
public static final int ACCEPTED_202
Accepted / 202.- See Also:
- Constant Field Values
-
NON_AUTHORITATIVE_INFORMATION_203
public static final int NON_AUTHORITATIVE_INFORMATION_203
Non Authoritative Information / 203.- See Also:
- Constant Field Values
-
NO_CONTENT_204
public static final int NO_CONTENT_204
No Content / 204.- See Also:
- Constant Field Values
-
NO_CONTENT_204_MSG
public static final java.lang.String NO_CONTENT_204_MSG
No Content / 204.- See Also:
- Constant Field Values
-
RESET_CONTENT_205
public static final int RESET_CONTENT_205
Reset Content / 205.- See Also:
- Constant Field Values
-
PARTIAL_CONTENT_206
public static final int PARTIAL_CONTENT_206
Partial Content / 206.- See Also:
- Constant Field Values
-
MULTI_STATUS_207
public static final int MULTI_STATUS_207
Multi Status / 207.- See Also:
- Constant Field Values
-
MULTIPLE_CHOICES_300
public static final int MULTIPLE_CHOICES_300
Multiple Choices / 300.- See Also:
- Constant Field Values
-
MOVED_PERMANENTLY_301
public static final int MOVED_PERMANENTLY_301
Moved Permanently / 301.- See Also:
- Constant Field Values
-
FOUND_302
public static final int FOUND_302
Found / 302.- See Also:
- Constant Field Values
-
SEE_OTHER_303
public static final int SEE_OTHER_303
See Other / 303.- See Also:
- Constant Field Values
-
NOT_MODIFIED_304
public static final int NOT_MODIFIED_304
Not Modified / 304.- See Also:
- Constant Field Values
-
USE_PROXY_305
public static final int USE_PROXY_305
Use Proxy / 305.- See Also:
- Constant Field Values
-
TEMPORARY_REDIRECT_307
public static final int TEMPORARY_REDIRECT_307
Temporary Redirect / 307.- See Also:
- Constant Field Values
-
PERMANENT_REDIRECT_308
public static final int PERMANENT_REDIRECT_308
Permanent Redirect / 308.- See Also:
- Constant Field Values
-
BAD_REQUEST_400
public static final int BAD_REQUEST_400
Bad Request / 400.- See Also:
- Constant Field Values
-
UNAUTHORIZED_401
public static final int UNAUTHORIZED_401
Unauthorized / 401.- See Also:
- Constant Field Values
-
PAYMENT_REQUIRED_402
public static final int PAYMENT_REQUIRED_402
Payment Required / 402.- See Also:
- Constant Field Values
-
FORBIDDEN_403
public static final int FORBIDDEN_403
Forbidden / 403.- See Also:
- Constant Field Values
-
NOT_FOUND_404
public static final int NOT_FOUND_404
Not Found / 404.- See Also:
- Constant Field Values
-
NOT_FOUND_404_MSG
public static final java.lang.String NOT_FOUND_404_MSG
Not Found / 404.- See Also:
- Constant Field Values
-
METHOD_NOT_ALLOWED_405
public static final int METHOD_NOT_ALLOWED_405
Method Not Allowed / 405.- See Also:
- Constant Field Values
-
NOT_ACCEPTABLE_406
public static final int NOT_ACCEPTABLE_406
Not Acceptable / 406.- See Also:
- Constant Field Values
-
PROXY_AUTHENTICATION_REQUIRED_407
public static final int PROXY_AUTHENTICATION_REQUIRED_407
Proxy Authentication Required / 407.- See Also:
- Constant Field Values
-
REQUEST_TIMEOUT_408
public static final int REQUEST_TIMEOUT_408
Request Timeout / 408.- See Also:
- Constant Field Values
-
CONFLICT_409
public static final int CONFLICT_409
Conflict / 409.- See Also:
- Constant Field Values
-
GONE_410
public static final int GONE_410
Gone / 410.- See Also:
- Constant Field Values
-
LENGTH_REQUIRED_411
public static final int LENGTH_REQUIRED_411
Length Required / 411.- See Also:
- Constant Field Values
-
PRECONDITION_FAILED_412
public static final int PRECONDITION_FAILED_412
Precondition Failed / 412.- See Also:
- Constant Field Values
-
PAYLOAD_TOO_LARGE_413
public static final int PAYLOAD_TOO_LARGE_413
Payload Too Large / 413.- See Also:
- Constant Field Values
-
URI_TOO_LONG_414
public static final int URI_TOO_LONG_414
URI Too Long / 414.- See Also:
- Constant Field Values
-
UNSUPPORTED_MEDIA_TYPE_415
public static final int UNSUPPORTED_MEDIA_TYPE_415
Unsupported Media Type / 415.- See Also:
- Constant Field Values
-
RANGE_NOT_SATISFIABLE_416
public static final int RANGE_NOT_SATISFIABLE_416
Range Not Satisfiable / 416.- See Also:
- Constant Field Values
-
EXPECTATION_FAILED_417
public static final int EXPECTATION_FAILED_417
Expectation Failed / 417.- See Also:
- Constant Field Values
-
IM_A_TEAPOT_418
public static final int IM_A_TEAPOT_418
Im A Teapot / 418.- See Also:
- Constant Field Values
-
ENHANCE_YOUR_CALM_420
public static final int ENHANCE_YOUR_CALM_420
Enhance Your Calm / 420.- See Also:
- Constant Field Values
-
MISDIRECTED_REQUEST_421
public static final int MISDIRECTED_REQUEST_421
Misdirected Request / 421.- See Also:
- Constant Field Values
-
UNPROCESSABLE_ENTITY_422
public static final int UNPROCESSABLE_ENTITY_422
Unprocessable Entity / 422.- See Also:
- Constant Field Values
-
LOCKED_423
public static final int LOCKED_423
Locked / 423.- See Also:
- Constant Field Values
-
FAILED_DEPENDENCY_424
public static final int FAILED_DEPENDENCY_424
Failed Dependency / 424.- See Also:
- Constant Field Values
-
UPGRADE_REQUIRED_426
public static final int UPGRADE_REQUIRED_426
Update Required / 426.- See Also:
- Constant Field Values
-
PRECONDITION_REQUIRED_428
public static final int PRECONDITION_REQUIRED_428
Precondition Required / 428.- See Also:
- Constant Field Values
-
TOO_MANY_REQUESTS_429
public static final int TOO_MANY_REQUESTS_429
Too Many Requests / 429.- See Also:
- Constant Field Values
-
REQUEST_HEADER_FIELDS_TOO_LARGE_431
public static final int REQUEST_HEADER_FIELDS_TOO_LARGE_431
Request Header Fields Too Large / 431.- See Also:
- Constant Field Values
-
UNAVAILABLE_FOR_LEGAL_REASONS_451
public static final int UNAVAILABLE_FOR_LEGAL_REASONS_451
Bad Unavailable For Legal Reasons / 451.- See Also:
- Constant Field Values
-
INTERNAL_SERVER_ERROR_500
public static final int INTERNAL_SERVER_ERROR_500
Internal Server Error / 500.- See Also:
- Constant Field Values
-
NOT_IMPLEMENTED_501
public static final int NOT_IMPLEMENTED_501
Not Implemented / 501.- See Also:
- Constant Field Values
-
BAD_GATEWAY_502
public static final int BAD_GATEWAY_502
Bad Gateway / 502.- See Also:
- Constant Field Values
-
SERVICE_UNAVAILABLE_503
public static final int SERVICE_UNAVAILABLE_503
Service Unavailable / 503.- See Also:
- Constant Field Values
-
GATEWAY_TIMEOUT_504
public static final int GATEWAY_TIMEOUT_504
Gateway Timeout / 504.- See Also:
- Constant Field Values
-
HTTP_VERSION_NOT_SUPPORTED_505
public static final int HTTP_VERSION_NOT_SUPPORTED_505
Http Version Not Supported / 505.- See Also:
- Constant Field Values
-
INSUFFICIENT_STORAGE_507
public static final int INSUFFICIENT_STORAGE_507
Insufficient Storage / 507.- See Also:
- Constant Field Values
-
LOOP_DETECTED_508
public static final int LOOP_DETECTED_508
Loop Detected / 508.- See Also:
- Constant Field Values
-
NOT_EXTENDED_510
public static final int NOT_EXTENDED_510
Not Extended / 510.- See Also:
- Constant Field Values
-
NETWORK_AUTHENTICATION_REQUIRED_511
public static final int NETWORK_AUTHENTICATION_REQUIRED_511
Network Authentication Required / 511.- See Also:
- Constant Field Values
-
-