HTTP status codes.

Static variables

@:value(new HTTPStatus(202, "Accepted"))staticfinalread onlyACCEPTED:HTTPStatus = new HTTPStatus(202, "Accepted")

@:value(new HTTPStatus(208, "Already Reported"))staticfinalread onlyALREADY_REPORTED:HTTPStatus = new HTTPStatus(208, "Already Reported")

@:value(new HTTPStatus(502, "Bad Gateway"))staticfinalread onlyBAD_GATEWAY:HTTPStatus = new HTTPStatus(502, "Bad Gateway")

@:value(new HTTPStatus(400, "Bad Request"))staticfinalread onlyBAD_REQUEST:HTTPStatus = new HTTPStatus(400, "Bad Request")

@:value(new HTTPStatus(409, "Conflict"))staticfinalread onlyCONFLICT:HTTPStatus = new HTTPStatus(409, "Conflict")

@:value(new HTTPStatus(100, "Continue"))staticfinalread onlyCONTINUE:HTTPStatus = new HTTPStatus(100, "Continue")

@:value(new HTTPStatus(201, "Created"))staticfinalread onlyCREATED:HTTPStatus = new HTTPStatus(201, "Created")

@:value(new HTTPStatus(103, "Early Hints"))staticfinalread onlyEARLY_HINTS:HTTPStatus = new HTTPStatus(103, "Early Hints")

@:value(new HTTPStatus(417, "Expectation Failed"))staticfinalread onlyEXPECTATION_FAILED:HTTPStatus = new HTTPStatus(417, "Expectation Failed")

@:value(new HTTPStatus(424, "Failed Dependency"))staticfinalread onlyFAILED_DEPENDENCY:HTTPStatus = new HTTPStatus(424, "Failed Dependency")

@:value(new HTTPStatus(403, "Forbidden"))staticfinalread onlyFORBIDDEN:HTTPStatus = new HTTPStatus(403, "Forbidden")

@:value(new HTTPStatus(302, "Found"))staticfinalread onlyFOUND:HTTPStatus = new HTTPStatus(302, "Found")

@:value(new HTTPStatus(504, "Gateway Timeout"))staticfinalread onlyGATEWAY_TIMEOUT:HTTPStatus = new HTTPStatus(504, "Gateway Timeout")

@:value(new HTTPStatus(410, "Gone"))staticfinalread onlyGONE:HTTPStatus = new HTTPStatus(410, "Gone")

@:value(new HTTPStatus(505, "HTTP Version Not Supported"))staticfinalread onlyHTTP_VERSION_NOT_SUPPORTED:HTTPStatus = new HTTPStatus(505, "HTTP Version Not Supported")

@:value(new HTTPStatus(418, "I'm a Teapot"))staticfinalread onlyIM_A_TEAPOT:HTTPStatus = new HTTPStatus(418, "I'm a Teapot")

@:value(new HTTPStatus(226, "IM Used"))staticfinalread onlyIM_USED:HTTPStatus = new HTTPStatus(226, "IM Used")

@:value(new HTTPStatus(507, "Insufficient Storage"))staticfinalread onlyINSUFFICIENT_STORAGE:HTTPStatus = new HTTPStatus(507, "Insufficient Storage")

@:value(new HTTPStatus(500, "Internal Server Error"))staticfinalread onlyINTERNAL_SERVER_ERROR:HTTPStatus = new HTTPStatus(500, "Internal Server Error")

@:value(new HTTPStatus(411, "Length Required"))staticfinalread onlyLENGTH_REQUIRED:HTTPStatus = new HTTPStatus(411, "Length Required")

@:value(new HTTPStatus(423, "Locked"))staticfinalread onlyLOCKED:HTTPStatus = new HTTPStatus(423, "Locked")

@:value(new HTTPStatus(508, "Loop Detected"))staticfinalread onlyLOOP_DETECTED:HTTPStatus = new HTTPStatus(508, "Loop Detected")

@:value(new HTTPStatus(405, "Method Not Allowed"))staticfinalread onlyMETHOD_NOT_ALLOWED:HTTPStatus = new HTTPStatus(405, "Method Not Allowed")

@:value(new HTTPStatus(421, "Misdirected Request"))staticfinalread onlyMISDIRECTED_REQUEST:HTTPStatus = new HTTPStatus(421, "Misdirected Request")

@:value(new HTTPStatus(301, "Moved Permanently"))staticfinalread onlyMOVED_PERMANENTLY:HTTPStatus = new HTTPStatus(301, "Moved Permanently")

@:value(new HTTPStatus(300, "Multiple Choices"))staticfinalread onlyMULTIPLE_CHOICES:HTTPStatus = new HTTPStatus(300, "Multiple Choices")

@:value(new HTTPStatus(207, "Multi-Status"))staticfinalread onlyMULTI_STATUS:HTTPStatus = new HTTPStatus(207, "Multi-Status")

@:value(new HTTPStatus(511, "Network Authentication Required"))staticfinalread onlyNETWORK_AUTHENTICATION_REQUIRED:HTTPStatus = new HTTPStatus(511, "Network Authentication Required")

@:value(new HTTPStatus(203, "Non-Authoritative Information"))staticfinalread onlyNON_AUTHORITATIVE_INFORMATION:HTTPStatus = new HTTPStatus(203, "Non-Authoritative Information")

@:value(new HTTPStatus(406, "Not Acceptable"))staticfinalread onlyNOT_ACCEPTABLE:HTTPStatus = new HTTPStatus(406, "Not Acceptable")

@:value(new HTTPStatus(510, "Not Extended"))staticfinalread onlyNOT_EXTENDED:HTTPStatus = new HTTPStatus(510, "Not Extended")

@:value(new HTTPStatus(404, "Not Found"))staticfinalread onlyNOT_FOUND:HTTPStatus = new HTTPStatus(404, "Not Found")

@:value(new HTTPStatus(501, "Not Implemented"))staticfinalread onlyNOT_IMPLEMENTED:HTTPStatus = new HTTPStatus(501, "Not Implemented")

@:value(new HTTPStatus(304, "Not Modified"))staticfinalread onlyNOT_MODIFIED:HTTPStatus = new HTTPStatus(304, "Not Modified")

@:value(new HTTPStatus(204, "No Content"))staticfinalread onlyNO_CONTENT:HTTPStatus = new HTTPStatus(204, "No Content")

@:value(new HTTPStatus(200, "OK"))staticfinalread onlyOK:HTTPStatus = new HTTPStatus(200, "OK")

@:value(new HTTPStatus(206, "Partial Content"))staticfinalread onlyPARTIAL_CONTENT:HTTPStatus = new HTTPStatus(206, "Partial Content")

@:value(new HTTPStatus(402, "Payment Required"))staticfinalread onlyPAYMENT_REQUIRED:HTTPStatus = new HTTPStatus(402, "Payment Required")

@:value(new HTTPStatus(308, "Permanent Redirect"))staticfinalread onlyPERMANENT_REDIRECT:HTTPStatus = new HTTPStatus(308, "Permanent Redirect")

@:value(new HTTPStatus(412, "Precondition Failed"))staticfinalread onlyPRECONDITION_FAILED:HTTPStatus = new HTTPStatus(412, "Precondition Failed")

@:value(new HTTPStatus(428, "Precondition Required"))staticfinalread onlyPRECONDITION_REQUIRED:HTTPStatus = new HTTPStatus(428, "Precondition Required")

@:value(new HTTPStatus(102, "Processing"))staticfinalread onlyPROCESSING:HTTPStatus = new HTTPStatus(102, "Processing")

@:value(new HTTPStatus(407, "Proxy Authentication Required"))staticfinalread onlyPROXY_AUTHENTICATION_REQUIRED:HTTPStatus = new HTTPStatus(407, "Proxy Authentication Required")

@:value(new HTTPStatus(416, "Requested Range Not Satisfiable"))staticfinalread onlyREQUESTED_RANGE_NOT_SATISFIABLE:HTTPStatus = new HTTPStatus(416, "Requested Range Not Satisfiable")

@:value(new HTTPStatus(413, "Request Entity Too Large"))staticfinalread onlyREQUEST_ENTITY_TOO_LARGE:HTTPStatus = new HTTPStatus(413, "Request Entity Too Large")

@:value(new HTTPStatus(431, "Request Header Fields Too Large"))staticfinalread onlyREQUEST_HEADER_FIELDS_TOO_LARGE:HTTPStatus = new HTTPStatus(431, "Request Header Fields Too Large")

@:value(new HTTPStatus(408, "Request Timeout"))staticfinalread onlyREQUEST_TIMEOUT:HTTPStatus = new HTTPStatus(408, "Request Timeout")

@:value(new HTTPStatus(414, "Request-URI Too Long"))staticfinalread onlyREQUEST_URI_TOO_LONG:HTTPStatus = new HTTPStatus(414, "Request-URI Too Long")

@:value(new HTTPStatus(205, "Reset Content"))staticfinalread onlyRESET_CONTENT:HTTPStatus = new HTTPStatus(205, "Reset Content")

@:value(new HTTPStatus(303, "See Other"))staticfinalread onlySEE_OTHER:HTTPStatus = new HTTPStatus(303, "See Other")

@:value(new HTTPStatus(503, "Service Unavailable"))staticfinalread onlySERVICE_UNAVAILABLE:HTTPStatus = new HTTPStatus(503, "Service Unavailable")

@:value(new HTTPStatus(101, "Switching Protocols"))staticfinalread onlySWITCHING_PROTOCOLS:HTTPStatus = new HTTPStatus(101, "Switching Protocols")

@:value(new HTTPStatus(307, "Temporary Redirect"))staticfinalread onlyTEMPORARY_REDIRECT:HTTPStatus = new HTTPStatus(307, "Temporary Redirect")

@:value(new HTTPStatus(425, "Too Early"))staticfinalread onlyTOO_EARLY:HTTPStatus = new HTTPStatus(425, "Too Early")

@:value(new HTTPStatus(429, "Too Many Requests"))staticfinalread onlyTOO_MANY_REQUESTS:HTTPStatus = new HTTPStatus(429, "Too Many Requests")

@:value(new HTTPStatus(401, "Unauthorized"))staticfinalread onlyUNAUTHORIZED:HTTPStatus = new HTTPStatus(401, "Unauthorized")

@:value(new HTTPStatus(451, "Unavailable For Legal Reasons"))staticfinalread onlyUNAVAILABLE_FOR_LEGAL_REASONS:HTTPStatus = new HTTPStatus(451, "Unavailable For Legal Reasons")

@:value(new HTTPStatus(422, "Unprocessable Entity"))staticfinalread onlyUNPROCESSABLE_ENTITY:HTTPStatus = new HTTPStatus(422, "Unprocessable Entity")

@:value(new HTTPStatus(415, "Unsupported Media Type"))staticfinalread onlyUNSUPPORTED_MEDIA_TYPE:HTTPStatus = new HTTPStatus(415, "Unsupported Media Type")

@:value(new HTTPStatus(426, "Upgrade Required"))staticfinalread onlyUPGRADE_REQUIRED:HTTPStatus = new HTTPStatus(426, "Upgrade Required")

@:value(new HTTPStatus(305, "Use Proxy"))staticfinalread onlyUSE_PROXY:HTTPStatus = new HTTPStatus(305, "Use Proxy")

@:value(new HTTPStatus(506, "Variant Also Negotiates"))staticfinalread onlyVARIANT_ALSO_NEGOTIATES:HTTPStatus = new HTTPStatus(506, "Variant Also Negotiates")

Variables

code:Int

The numeric HTTP status code.

message:String

The default message describing the HTTP status.