class Http2ServiceResponse {

    ClientResponse clientResponse;
    ObjectMapper objectMapper = Config.getInstance().getMapper();

    public Http2ServiceResponse(ClientResponse clientResponse) {
        this.clientResponse = clientResponse;
    }

    public String getClientResponseBody() {
        return clientResponse.getAttachment(Http2Client.RESPONSE_BODY);
    }

    public int getClientResponseStatusCode() {
        return clientResponse.getResponseCode();
    }

    public boolean isClientResponseStatusOK() {<FILL_FUNCTION_BODY>}

    public <ResponseType> ResponseType getTypedClientResponse(Class<? extends ResponseType> clazz) throws Exception {
            return this.objectMapper.readValue(this.getClientResponseBody(), clazz);
    }

    public <ResponseType> List<ResponseType> getTypedListClientResponse(Class<? extends ResponseType> clazz) throws Exception {
        return this.objectMapper.readValue(this.getClientResponseBody(), objectMapper.getTypeFactory().constructCollectionType(List.class, clazz));
    }
}

        int statusCode = getClientResponseStatusCode();
        return statusCode >= 200 && statusCode < 300;
    
<no_super_class>