Я добавил конструктор вручную, но все равно получаю сообщение. Конструктор HttpResponseExtended() не определен
public class HttpResponseExtended {
HttpResponse response;
public HttpResponseExtended(HttpResponse res) {
this.response = res;
}
public JSONObject json() {
return new JSONObject(response);
}
}
Я создаю новый объект с помощью:
new HttpResponseExtended()
Подробнее здесь: https://stackoverflow.com/questions/788 ... -undefined