/** * The HTTP response body as a buffer * @return a buffer with the HTTP response body */ public io.vertx.rxjava.core.buffer.Buffer body() { io.vertx.rxjava.core.buffer.Buffer ret = io.vertx.rxjava.core.buffer.Buffer.newInstance(delegate.body()); return ret; }
/** * The HTTP response body as a buffer * @return a buffer with the HTTP response body */ public io.vertx.rxjava.core.buffer.Buffer body() { io.vertx.rxjava.core.buffer.Buffer ret = io.vertx.rxjava.core.buffer.Buffer.newInstance(delegate.body()); return ret; }
if (reply.body() == null) { handler.handle(Future.failedFuture("No Body")); return;
handler.handle(Future.failedFuture("Bad Response [" + response.statusCode() + "] " + response.body())); return;
try { token = OAuth2API.queryToJSON(res.body().toString()); } catch (RuntimeException | UnsupportedEncodingException e) { callback.handle(Future.failedFuture(e));
try { userInfo = OAuth2API.queryToJSON(reply.body().toString()); } catch (RuntimeException | UnsupportedEncodingException e) { callback.handle(Future.failedFuture(e));