Class Http.Status

java.lang.Object
io.helidon.common.http.Http.Status
Enclosing class:
Http

public static class Http.Status extends Object
Commonly used status codes defined by HTTP, see HTTP/1.1 documentation for the complete list. Additional status codes can be added by applications by call create(int) or create(int, String) with unkown status code, or with text that differs from the predefined status codes.

Although the constants are instances of this class, they can be compared using instance equality, as the only way to obtain an instance is through methods create(int) create(int, String), which ensures the same instance is returned for known status codes and reason phrases.