class DefaultHttpJsonResponse implements HttpJsonResponse {

  @Override
  public <T> List<T> asList(Class<T> dtoInterface) {
    requireNonNull(dtoInterface, "Required non-null dto interface");
    return DtoFactory.getInstance().createListDtoFromJson(responseBody, dtoInterface);
  }

  protected  DefaultHttpJsonResponse(String response, int responseCode);
  protected  DefaultHttpJsonResponse(
      String response, int responseCode, Map<String, List<String>> headers);

}