public static HttpRespStatus valueOf(int code) {
        HttpRespStatus status = valueOf0(code);
        return status != null ? status : new HttpRespStatus(code);
    }
@Test
    public void testValueOf() {
        Assert.assertEquals(CONTINUE, HttpRespStatus.valueOf(100));
        Assert.assertEquals(OK, HttpRespStatus.valueOf(200));
        Assert.assertEquals(MULTIPLE_CHOICES, HttpRespStatus.valueOf(300));
        Assert.assertEquals(MOVED_PERMANENTLY, HttpRespStatus.valueOf(301));
        Assert.assertEquals(BAD_REQUEST, HttpRespStatus.valueOf(400));
        Assert.assertEquals(INTERNAL_SERVER_ERROR, HttpRespStatus.valueOf(500));

        Assert.assertEquals(100, HttpRespStatus.valueOf(100).code());
        Assert.assertEquals(200, HttpRespStatus.valueOf(200).code());
    }