Static
ACCEPTED
Static
BAD_Static
CREATED
Static
FORBIDDEN
Static
INTERNAL_Static
NO_Static
NOT_Static
OK
Static
SERVICE_Static
UNAUTHORIZED
Static
from
Validates and converts a numeric HTTP status code to the
corresponding HttpStatusEnum
value.
The numeric HTTP status code.
The corresponding HttpStatusEnum
value if
valid, or undefined
otherwise.
Static
getStatic
getRetrieves both the numeric HTTP status code and its textual description.
The numeric HTTP status code.
An object containing the status code and its description, or
undefined
if the code is invalid.
Utility class to provide additional functionality around HTTP status codes.