else
{
Map<String, Object> failure = new HashMap<>(2);
// Convert the 200 into 204 (no content)
failure.put("httpCode", 204);
TransportException x = new TransportException(failure);
listener.onFailure(x, messages);
}
}
else
{
Map<String, Object> failure = new HashMap<>(2);
failure.put("httpCode", status);
TransportException x = new TransportException(failure);
listener.onFailure(x, messages);
}
}
});
}