new DefaultFutureResult<Boolean>(result.cause()).setHandler(resultHandler);
}
}
});
} else if (result.result().body().getString("status").equals("error")) {
new DefaultFutureResult<Boolean>(new DataException(result.result().body().getString("message"))).setHandler(resultHandler);
} else {
new DefaultFutureResult<Boolean>(result.result().body().getBoolean("result")).setHandler(resultHandler);
}
}
});