Status
An HTTP response status.
Properties
"code"
: integer-
Three-digit integer reflecting the HTTP status code.
"family"
: enumeration-
Family Enum value representing the class of response that corresponds to the code:
Family.INFORMATIONAL
-
Status code reflects a provisional, informational response: 1xx.
Family.SUCCESSFUL
-
The server received, understood, accepted and processed the request successfully. Status code: 2xx.
Family.REDIRECTION
-
Status code indicates that the client must take additional action to complete the request: 3xx.
Family.CLIENT_ERROR
-
Status code reflects a client error: 4xx.
Family.SERVER_ERROR
-
Status code indicates a server-side error: 5xx.
Family.UNKNOWN
-
Status code doesn’t belong to one of the known families: 600+.
"reasonPhrase"
: string-
The human-readable reason-phrase corresponding to the status code.
"isClientError"
: boolean-
True if Family.CLIENT_ERROR.
"isInformational"
: boolean-
True if Family.INFORMATIONAL.
"isRedirection"
: boolean-
True if Family.REDIRECTION.
"isServerError"
: boolean-
True if Family.SERVER_ERROR.
"isSuccessful"
: boolean-
True if Family.SUCCESSFUL.