public static HttpStatus valueOf(int statusCode) {
        if (statusCode < 0 || statusCode >= 1000) {
            return new HttpStatus(statusCode);
        } else {
            return map[statusCode];
        }
    }
Returns the {@link HttpStatus} represented by the specified status code.
core/src/main/java/com/linecorp/armeria/common/HttpStatus.java