}
@Override
public void responseSuccess(IRequest iReq) {
// cast observable to a Request
Request request = (Request) iReq;
// get the response from the request
ResponseModel response = request.getResponse();
// print the body
System.out.println("Received response: " + response.getBody()); //TODO change this to logger
if (response.getStatusCode() == 200) {
// parse the defect from the body