Example usage for Java org.springframework.http HttpStatus fields, constructors, methods, implement or subclass
The text is from its open source code.
HttpStatus | CONTINUE 100 Continue . |
HttpStatus | SWITCHING_PROTOCOLS 101 Switching Protocols . |
HttpStatus | PROCESSING 102 Processing . |
HttpStatus | OK 200 OK . |
HttpStatus | CREATED 201 Created . |
HttpStatus | ACCEPTED 202 Accepted . |
HttpStatus | NON_AUTHORITATIVE_INFORMATION 203 Non-Authoritative Information . |
HttpStatus | NO_CONTENT 204 No Content . |
HttpStatus | PARTIAL_CONTENT 206 Partial Content . |
HttpStatus | MULTI_STATUS 207 Multi-Status . |
HttpStatus | ALREADY_REPORTED 208 Already Reported . |
HttpStatus | MULTIPLE_CHOICES 300 Multiple Choices . |
HttpStatus | MOVED_PERMANENTLY 301 Moved Permanently . |
HttpStatus | FOUND 302 Found . |
HttpStatus | MOVED_TEMPORARILY 302 Moved Temporarily . |
HttpStatus | SEE_OTHER 303 See Other . |
HttpStatus | NOT_MODIFIED 304 Not Modified . |
HttpStatus | TEMPORARY_REDIRECT 307 Temporary Redirect . |
HttpStatus | PERMANENT_REDIRECT 308 Permanent Redirect . |
HttpStatus | BAD_REQUEST 400 Bad Request . |
HttpStatus | UNAUTHORIZED 401 Unauthorized . |
HttpStatus | PAYMENT_REQUIRED 402 Payment Required . |
HttpStatus | FORBIDDEN 403 Forbidden . |
HttpStatus | NOT_FOUND 404 Not Found . |
HttpStatus | METHOD_NOT_ALLOWED 405 Method Not Allowed . |
HttpStatus | NOT_ACCEPTABLE 406 Not Acceptable . |
HttpStatus | PROXY_AUTHENTICATION_REQUIRED 407 Proxy Authentication Required . |
HttpStatus | REQUEST_TIMEOUT 408 Request Timeout . |
HttpStatus | CONFLICT 409 Conflict . |
HttpStatus | GONE 410 Gone . |
HttpStatus | PRECONDITION_FAILED 412 Precondition failed . |
HttpStatus | PAYLOAD_TOO_LARGE 413 Payload Too Large . |
HttpStatus | REQUEST_ENTITY_TOO_LARGE 413 Request Entity Too Large . |
HttpStatus | REQUEST_URI_TOO_LONG 414 Request-URI Too Long . |
HttpStatus | UNSUPPORTED_MEDIA_TYPE 415 Unsupported Media Type . |
HttpStatus | REQUESTED_RANGE_NOT_SATISFIABLE 416 Requested Range Not Satisfiable . |
HttpStatus | EXPECTATION_FAILED 417 Expectation Failed . |
HttpStatus | I_AM_A_TEAPOT 418 I'm a teapot . |
HttpStatus | METHOD_FAILURE |
HttpStatus | UNPROCESSABLE_ENTITY 422 Unprocessable Entity . |
HttpStatus | LOCKED 423 Locked . |
HttpStatus | FAILED_DEPENDENCY 424 Failed Dependency . |
HttpStatus | UPGRADE_REQUIRED 426 Upgrade Required . |
HttpStatus | TOO_MANY_REQUESTS 429 Too Many Requests . |
HttpStatus | INTERNAL_SERVER_ERROR 500 Internal Server Error . |
HttpStatus | NOT_IMPLEMENTED 501 Not Implemented . |
HttpStatus | BAD_GATEWAY 502 Bad Gateway . |
HttpStatus | SERVICE_UNAVAILABLE 503 Service Unavailable . |
HttpStatus | GATEWAY_TIMEOUT 504 Gateway Timeout . |
HttpStatus | INSUFFICIENT_STORAGE 507 Insufficient Storage |
HttpStatus | BANDWIDTH_LIMIT_EXCEEDED 509 Bandwidth Limit Exceeded |
HttpStatus | NETWORK_AUTHENTICATION_REQUIRED 511 Network Authentication Required . |
int | value |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
String | getReasonPhrase() Return the reason phrase of this status code. |
boolean | is1xxInformational() Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#INFORMATIONAL . |
boolean | is2xxSuccessful() Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#SUCCESSFUL . |
boolean | is3xxRedirection() Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#REDIRECTION . |
boolean | is4xxClientError() Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#CLIENT_ERROR . |
boolean | is5xxServerError() Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#SERVER_ERROR . |
HttpStatus | resolve(int statusCode) Resolve the given status code to an HttpStatus , if possible. |
Series | series() Return the HTTP status series of this status code. |
String | toString() Return a string representation of this status code. |
HttpStatus | valueOf(int statusCode) Return the enum constant of this type with the specified numeric value. |