    @Test
    public void postJsonObject() throws UnsupportedEncodingException {

        CreateUserRequest request = new CreateUserRequest("/user/createUser");
        request.setMethod(MethodTypeEnum.POST);
        request.setHttpContentType(ContentType.APPLICATION_JSON);

        CreateUserRequest.CreateUserBody body = new CreateUserRequest.CreateUserBody();
        body.setUsername("白居易");
        request.setBody(body);

        String result = HttpUtil.post(request.composeUrl(baseUrl, request.getQueryParameters()), JacksonUtil.toJson(request.getBody()), request.getHttpContentType());

        AbstractResponse response = JacksonUtil.readValue(result, request.getResponseClass());
        log.info(response.toString());
    }