HttpStatus

An enum defining all valid HTTP response statuses: See here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

Values

ValueMeaning
CONTINUEStatusInfo(100, "Continue")
SWITCHING_PROTOCOLSStatusInfo(101, "Switching Protocols")
PROCESSINGStatusInfo(102, "Processing")
EARLY_HINTSStatusInfo(103, "Early Hints")
OKStatusInfo(200, "OK")
CREATEDStatusInfo(201, "Created")
ACCEPTEDStatusInfo(202, "Accepted")
NON_AUTHORITATIVE_INFORMATIONStatusInfo(203, "Non-Authoritative Information")
NO_CONTENTStatusInfo(204, "No Content")
RESET_CONTENTStatusInfo(205, "Reset Content")
PARTIAL_CONTENTStatusInfo(206, "Partial Content")
MULTI_STATUSStatusInfo(207, "Multi-Status")
ALREADY_REPORTEDStatusInfo(208, "Already Reported")
IM_USEDStatusInfo(226, "IM Used")
MULTIPLE_CHOICESStatusInfo(300, "Multiple Choices")
MOVED_PERMANENTLYStatusInfo(301, "Moved Permanently")
FOUNDStatusInfo(302, "Found")
SEE_OTHERStatusInfo(303, "See Other")
NOT_MODIFIEDStatusInfo(304, "Not Modified")
TEMPORARY_REDIRECTStatusInfo(307, "Temporary Redirect")
PERMANENT_REDIRECTStatusInfo(308, "Permanent Redirect")
BAD_REQUESTStatusInfo(400, "Bad Request")
UNAUTHORIZEDStatusInfo(401, "Unauthorized")
PAYMENT_REQUIREDStatusInfo(402, "Payment Required")
FORBIDDENStatusInfo(403, "Forbidden")
NOT_FOUNDStatusInfo(404, "Not Found")
METHOD_NOT_ALLOWEDStatusInfo(405, "Method Not Allowed")
NOT_ACCEPTABLEStatusInfo(406, "Not Acceptable")
PROXY_AUTHENTICATION_REQUIREDStatusInfo(407, "Proxy Authentication Required")
REQUEST_TIMEOUTStatusInfo(408, "Request Timeout")
CONFLICTStatusInfo(409, "Conflict")
GONEStatusInfo(410, "Gone")
LENGTH_REQUIREDStatusInfo(411, "Length Required")
PRECONDITION_FAILEDStatusInfo(412, "Precondition Failed")
PAYLOAD_TOO_LARGEStatusInfo(413, "Payload Too Large")
URI_TOO_LONGStatusInfo(414, "URI Too Long")
UNSUPPORTED_MEDIA_TYPEStatusInfo(415, "Unsupported Media Type")
RANGE_NOT_SATISFIABLEStatusInfo(416, "Range Not Satisfiable")
EXPECTATION_FAILEDStatusInfo(417, "Expectation Failed")
IM_A_TEAPOTStatusInfo(418, "I'm a teapot")
MISDIRECTED_REQUESTStatusInfo(421, "Misdirected Request")
UNPROCESSABLE_CONTENTStatusInfo(422, "Unprocessable Content")
LOCKEDStatusInfo(423, "Locked")
FAILED_DEPENDENCYStatusInfo(424, "Failed Dependency")
TOO_EARLYStatusInfo(425, "Too Early")
UPGRADE_REQUIREDStatusInfo(426, "Upgrade Required")
PRECONDITION_REQUIREDStatusInfo(428, "Precondition Required")
TOO_MANY_REQUESTSStatusInfo(429, "Too Many Requests")
REQUEST_HEADER_FIELDS_TOO_LARGEStatusInfo(431, "Request Header Fields Too Large")
INTERNAL_SERVER_ERRORStatusInfo(500, "Internal Server Error")
NOT_IMPLEMENTEDStatusInfo(501, "Not Implemented")
BAD_GATEWAYStatusInfo(502, "Bad Gateway")
SERVICE_UNAVAILABLEStatusInfo(503, "Service Unavailable")
GATEWAY_TIMEOUTStatusInfo(504, "Gateway Timeout")
HTTP_VERSION_NOT_SUPPORTEDStatusInfo(505, "HTTP Version Not Supported")
VARIANT_ALSO_NEGOTIATESStatusInfo(506, "Variant Also Negotiates")
INSUFFICIENT_STORAGEStatusInfo(507, "Insufficient Storage")
LOOP_DETECTEDStatusInfo(508, "Loop Detected")
NOT_EXTENDEDStatusInfo(510, "Not Extended")
NETWORK_AUTHENTICATION_REQUIREDStatusInfo(511, "Network Authentication Required")