public final class HttpStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPTED
The HTTP
202 Accepted status code. |
static int |
ALREADY_REPORTED
The HTTP
208 Already Reported status code. |
static int |
BAD_GATEWAY
The HTTP
502 Bad Gateway status code. |
static int |
BAD_REQUEST
The HTTP
400 Bad Request status code. |
static int |
BANDWIDTH_LIMIT_EXCEEDED
The HTTP
509 Bandwidth Limit Exceeded status code. |
static int |
CHECKPOINT
The HTTP
103 Checkpoint status code. |
static int |
CONFLICT
The HTTP
409 Conflict status code. |
static int |
CONTINUE
The HTTP
100 Continue status code. |
static int |
CREATED
The HTTP
201 Created status code. |
static int |
EXPECTATION_FAILED
The HTTP
417 Expectation Failed status code. |
static int |
FAILED_DEPENDENCY
The HTTP
424 Failed Dependency status code. |
static int |
FORBIDDEN
The HTTP
403 Forbidden status code. |
static int |
FOUND
The HTTP
302 Found status code. |
static int |
GATEWAY_TIMEOUT
The HTTP
504 Gateway Timeout status code. |
static int |
GONE
The HTTP
410 Gone status code. |
static int |
HTTP_VERSION_NOT_SUPPORTED
The HTTP
505 HTTP Version Not Supported status code. |
static int |
I_AM_A_TEAPOT
The HTTP
418 I'm a teapot status code. |
static int |
IM_USED
The HTTP
226 IM Used status code. |
static int |
INSUFFICIENT_STORAGE
The HTTP
507 Insufficient Storage status code. |
static int |
INTERNAL_SERVER_ERROR
The HTTP
500 Internal Server Error status code. |
static int |
LENGTH_REQUIRED
The HTTP
411 Length Required status code. |
static int |
LOCKED
The HTTP
423 Locked status code. |
static int |
LOOP_DETECTED
The HTTP
508 Loop Detected status code. |
static int |
METHOD_NOT_ALLOWED
The HTTP
405 Method Not Allowed status code. |
static int |
MOVED_PERMANENTLY
The HTTP
301 Moved Permanently status code. |
static int |
MULTI_STATUS
The HTTP
207 Multi-Status status code. |
static int |
MULTIPLE_CHOICES
The HTTP
300 Multiple Choices status code. |
static int |
NETWORK_AUTHENTICATION_REQUIRED
The HTTP
511 Network Authentication Required status code. |
static int |
NO_CONTENT
The HTTP
204 No Content status code. |
static int |
NON_AUTHORITATIVE_INFORMATION
The HTTP
203 Non-Authoritative Information status code. |
static int |
NOT_ACCEPTABLE
The HTTP
406 Not Acceptable status code. |
static int |
NOT_EXTENDED
The HTTP
510 Not Extended status code. |
static int |
NOT_FOUND
The HTTP
404 Not Found status code. |
static int |
NOT_IMPLEMENTED
The HTTP
501 Not Implemented status code. |
static int |
NOT_MODIFIED
The HTTP
304 Not Modified status code. |
static int |
OK
The HTTP
200 OK status code. |
static int |
PARTIAL_CONTENT
The HTTP
206 Partial Content status code. |
static int |
PAYLOAD_TOO_LARGE
The HTTP
413 Payload Too Large status code. |
static int |
PAYMENT_REQUIRED
The HTTP
402 Payment Required status code. |
static int |
PERMANENT_REDIRECT
The HTTP
308 Permanent Redirect status code. |
static int |
PRECONDITION_FAILED
The HTTP
412 Precondition failed status code. |
static int |
PRECONDITION_REQUIRED
The HTTP
428 Precondition Required status code. |
static int |
PROCESSING
The HTTP
102 Processing status code. |
static int |
PROXY_AUTHENTICATION_REQUIRED
The HTTP
407 Proxy Authentication Required status code. |
static int |
REQUEST_HEADER_FIELDS_TOO_LARGE
The HTTP
431 Request Header Fields Too Large status code. |
static int |
REQUEST_TIMEOUT
The HTTP
408 Request Timeout status code. |
static int |
REQUESTED_RANGE_NOT_SATISFIABLE
The HTTP
416 Requested Range Not Satisfiable status code. |
static int |
RESET_CONTENT
The HTTP
205 Reset Content status code. |
static int |
SEE_OTHER
The HTTP
303 See Other status code. |
static int |
SERVICE_UNAVAILABLE
The HTTP
503 Service Unavailable status code. |
static int |
SWITCHING_PROTOCOLS
The HTTP
101 Switching Protocols status code. |
static int |
TEMPORARY_REDIRECT
The HTTP
307 Temporary Redirect status code. |
static int |
TOO_MANY_REQUESTS
The HTTP
429 Too Many Requests status code. |
static int |
UNAUTHORIZED
The HTTP
401 Unauthorized status code. |
static int |
UNAVAILABLE_FOR_LEGAL_REASONS
The HTTP
451 Unavailable For Legal Reasons status code. |
static int |
UNPROCESSABLE_ENTITY
The HTTP
422 Unprocessable Entity status code. |
static int |
UNSUPPORTED_MEDIA_TYPE
The HTTP
415 Unsupported Media Type status code. |
static int |
UPGRADE_REQUIRED
The HTTP
426 Upgrade Required status code. |
static int |
URI_TOO_LONG
The HTTP
414 URI Too Long status code. |
static int |
VARIANT_ALSO_NEGOTIATES
The HTTP
506 Variant Also Negotiates status code. |
| Constructor and Description |
|---|
HttpStatus() |
public static final int CONTINUE
100 Continue status code.public static final int SWITCHING_PROTOCOLS
101 Switching Protocols status code.public static final int PROCESSING
102 Processing status code.public static final int CHECKPOINT
103 Checkpoint status code.public static final int OK
200 OK status code.public static final int CREATED
201 Created status code.public static final int ACCEPTED
202 Accepted status code.public static final int NON_AUTHORITATIVE_INFORMATION
203 Non-Authoritative Information status code.public static final int NO_CONTENT
204 No Content status code.public static final int RESET_CONTENT
205 Reset Content status code.public static final int PARTIAL_CONTENT
206 Partial Content status code.public static final int MULTI_STATUS
207 Multi-Status status code.public static final int ALREADY_REPORTED
208 Already Reported status code.public static final int IM_USED
226 IM Used status code.public static final int MULTIPLE_CHOICES
300 Multiple Choices status code.public static final int MOVED_PERMANENTLY
301 Moved Permanently status code.public static final int FOUND
302 Found status code.public static final int SEE_OTHER
303 See Other status code.public static final int NOT_MODIFIED
304 Not Modified status code.public static final int TEMPORARY_REDIRECT
307 Temporary Redirect status code.public static final int PERMANENT_REDIRECT
308 Permanent Redirect status code.public static final int BAD_REQUEST
400 Bad Request status code.public static final int UNAUTHORIZED
401 Unauthorized status code.public static final int PAYMENT_REQUIRED
402 Payment Required status code.public static final int FORBIDDEN
403 Forbidden status code.public static final int NOT_FOUND
404 Not Found status code.public static final int METHOD_NOT_ALLOWED
405 Method Not Allowed status code.public static final int NOT_ACCEPTABLE
406 Not Acceptable status code.public static final int PROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required status code.public static final int REQUEST_TIMEOUT
408 Request Timeout status code.public static final int CONFLICT
409 Conflict status code.public static final int GONE
410 Gone status code.public static final int LENGTH_REQUIRED
411 Length Required status code.public static final int PRECONDITION_FAILED
412 Precondition failed status code.public static final int PAYLOAD_TOO_LARGE
413 Payload Too Large status code.public static final int URI_TOO_LONG
414 URI Too Long status code.public static final int UNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type status code.public static final int REQUESTED_RANGE_NOT_SATISFIABLE
416 Requested Range Not Satisfiable status code.public static final int EXPECTATION_FAILED
417 Expectation Failed status code.public static final int I_AM_A_TEAPOT
418 I'm a teapot status code.public static final int UNPROCESSABLE_ENTITY
422 Unprocessable Entity status code.public static final int LOCKED
423 Locked status code.public static final int FAILED_DEPENDENCY
424 Failed Dependency status code.public static final int UPGRADE_REQUIRED
426 Upgrade Required status code.public static final int PRECONDITION_REQUIRED
428 Precondition Required status code.public static final int TOO_MANY_REQUESTS
429 Too Many Requests status code.public static final int REQUEST_HEADER_FIELDS_TOO_LARGE
431 Request Header Fields Too Large status code.public static final int UNAVAILABLE_FOR_LEGAL_REASONS
451 Unavailable For Legal Reasons status code.public static final int INTERNAL_SERVER_ERROR
500 Internal Server Error status code.public static final int NOT_IMPLEMENTED
501 Not Implemented status code.public static final int BAD_GATEWAY
502 Bad Gateway status code.public static final int SERVICE_UNAVAILABLE
503 Service Unavailable status code.public static final int GATEWAY_TIMEOUT
504 Gateway Timeout status code.public static final int HTTP_VERSION_NOT_SUPPORTED
505 HTTP Version Not Supported status code.public static final int VARIANT_ALSO_NEGOTIATES
506 Variant Also Negotiates status code.public static final int INSUFFICIENT_STORAGE
507 Insufficient Storage status code.public static final int LOOP_DETECTED
508 Loop Detected status code.public static final int BANDWIDTH_LIMIT_EXCEEDED
509 Bandwidth Limit Exceeded status code.public static final int NOT_EXTENDED
510 Not Extended status code.public static final int NETWORK_AUTHENTICATION_REQUIRED
511 Network Authentication Required status code.Copyright © 2016–2020 Spring. All rights reserved.