| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | org.springframework.http.HttpStatus | |
Java 5 enumeration of HTTP status codes.
The HTTP status code series can be retrieved via series().
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| HttpStatus.Series | Java 5 enumeration of HTTP status series. | ||||||||||
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| HttpStatus | ACCEPTED | 202 Accepted. |
|||||||||
| HttpStatus | ALREADY_REPORTED | 208 Already Reported. |
|||||||||
| HttpStatus | BAD_GATEWAY | 502 Bad Gateway. |
|||||||||
| HttpStatus | BAD_REQUEST | 400 Bad Request. |
|||||||||
| HttpStatus | CONFLICT | 409 Conflict. |
|||||||||
| HttpStatus | CONTINUE | 100 Continue. |
|||||||||
| HttpStatus | CREATED | 201 Created. |
|||||||||
| HttpStatus | DESTINATION_LOCKED | 421 Destination Locked. |
|||||||||
| HttpStatus | EXPECTATION_FAILED | 417 Expectation Failed. |
|||||||||
| HttpStatus | FAILED_DEPENDENCY | 424 Failed Dependency. |
|||||||||
| HttpStatus | FORBIDDEN | 403 Forbidden. |
|||||||||
| HttpStatus | FOUND | 302 Found. |
|||||||||
| HttpStatus | GATEWAY_TIMEOUT | 504 Gateway Timeout. |
|||||||||
| HttpStatus | GONE | 410 Gone. |
|||||||||
| HttpStatus | HTTP_VERSION_NOT_SUPPORTED | 505 HTTP Version Not Supported. |
|||||||||
| HttpStatus | IM_USED | 226 IM Used. |
|||||||||
| HttpStatus | INSUFFICIENT_SPACE_ON_RESOURCE | 419 Insufficient Space on Resource. |
|||||||||
| HttpStatus | INSUFFICIENT_STORAGE | 507 Insufficient Storage |
|||||||||
| HttpStatus | INTERNAL_SERVER_ERROR | 500 Internal Server Error. |
|||||||||
| HttpStatus | LENGTH_REQUIRED | 411 Length Required. |
|||||||||
| HttpStatus | LOCKED | 423 Locked. |
|||||||||
| HttpStatus | LOOP_DETECTED | 508 Loop Detected |
|||||||||
| HttpStatus | METHOD_FAILURE | 420 Method Failure. |
|||||||||
| HttpStatus | METHOD_NOT_ALLOWED | 405 Method Not Allowed. |
|||||||||
| HttpStatus | MOVED_PERMANENTLY | 301 Moved Permanently. |
|||||||||
| HttpStatus | MOVED_TEMPORARILY | 302 Moved Temporarily. |
|||||||||
| HttpStatus | MULTIPLE_CHOICES | 300 Multiple Choices. |
|||||||||
| HttpStatus | MULTI_STATUS | 207 Multi-Status. |
|||||||||
| HttpStatus | NON_AUTHORITATIVE_INFORMATION | 203 Non-Authoritative Information. |
|||||||||
| HttpStatus | NOT_ACCEPTABLE | 406 Not Acceptable. |
|||||||||
| HttpStatus | NOT_EXTENDED | 510 Not Extended |
|||||||||
| HttpStatus | NOT_FOUND | 404 Not Found. |
|||||||||
| HttpStatus | NOT_IMPLEMENTED | 501 Not Implemented. |
|||||||||
| HttpStatus | NOT_MODIFIED | 304 Not Modified. |
|||||||||
| HttpStatus | NO_CONTENT | 204 No Content. |
|||||||||
| HttpStatus | OK | 200 OK. |
|||||||||
| HttpStatus | PARTIAL_CONTENT | 206 Partial Content. |
|||||||||
| HttpStatus | PAYMENT_REQUIRED | 402 Payment Required. |
|||||||||
| HttpStatus | PRECONDITION_FAILED | 412 Precondition failed. |
|||||||||
| HttpStatus | PROCESSING | 102 Processing. |
|||||||||
| HttpStatus | PROXY_AUTHENTICATION_REQUIRED | 407 Proxy Authentication Required. |
|||||||||
| HttpStatus | REQUESTED_RANGE_NOT_SATISFIABLE | 416 Requested Range Not Satisfiable. |
|||||||||
| HttpStatus | REQUEST_ENTITY_TOO_LARGE | 413 Request Entity Too Large. |
|||||||||
| HttpStatus | REQUEST_TIMEOUT | 408 Request Timeout. |
|||||||||
| HttpStatus | REQUEST_URI_TOO_LONG | 414 Request-URI Too Long. |
|||||||||
| HttpStatus | RESET_CONTENT | 205 Reset Content. |
|||||||||
| HttpStatus | SEE_OTHER | 303 See Other. |
|||||||||
| HttpStatus | SERVICE_UNAVAILABLE | 503 Service Unavailable. |
|||||||||
| HttpStatus | SWITCHING_PROTOCOLS | 101 Switching Protocols. |
|||||||||
| HttpStatus | TEMPORARY_REDIRECT | 307 Temporary Redirect. |
|||||||||
| HttpStatus | UNAUTHORIZED | 401 Unauthorized. |
|||||||||
| HttpStatus | UNPROCESSABLE_ENTITY | 422 Unprocessable Entity. |
|||||||||
| HttpStatus | UNSUPPORTED_MEDIA_TYPE | 415 Unsupported Media Type. |
|||||||||
| HttpStatus | UPGRADE_REQUIRED | 426 Upgrade Required. |
|||||||||
| HttpStatus | USE_PROXY | 305 Use Proxy. |
|||||||||
| HttpStatus | VARIANT_ALSO_NEGOTIATES | 506 Variant Also Negotiates |
|||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the reason phrase of this status code.
| |||||||||||
Returns the HTTP status series of this status code.
| |||||||||||
Return a string representation of this status code.
| |||||||||||
Return the integer value of this status code.
| |||||||||||
Return the enum constant of this type with the specified numeric value.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
419 Insufficient Space on Resource.
203 Non-Authoritative Information.
407 Proxy Authentication Required.
416 Requested Range Not Satisfiable.
Return the integer value of this status code.
Return the enum constant of this type with the specified numeric value.
| statusCode | the numeric value of the enum to be returned |
|---|
| IllegalArgumentException | if this enum has no constant for the specified numeric value |
|---|