This class can be used to get messages and descriptions of HTTP status codes.
It contains definitions of constants all common HTTP response status codes including the respective message to be returned with the code in a HTTP response and the respective description.
The class can return the message or the description for a given HTTP status code.
HTTP status codes are important to return to the browser or the HTTP client that sends a request to a Web server. They return a code and and message that tell if the request succeeded or not.
This class can return the message and and description associated to many known HTTP status codes, so applications can generate HTTP status response headers without having to know how to format them correctly.