Package | Description |
---|---|
io.vertx.ext.web.client | |
io.vertx.groovy.ext.web.client | |
io.vertx.rxjava.ext.web.client |
Modifier and Type | Method and Description |
---|---|
void |
HttpRequest.send(Handler<AsyncResult<HttpResponse<T>>> handler)
Send a request, the
handler will receive the response as an HttpResponse . |
void |
HttpRequest.sendBuffer(Buffer body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) but with an HTTP request body buffer. |
void |
HttpRequest.sendForm(MultiMap body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
void |
HttpRequest.sendJson(Object body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) but with an HTTP request body object encoded as json and the content type
set to application/json . |
void |
HttpRequest.sendJsonObject(JsonObject body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) but with an HTTP request body object encoded as json and the content type
set to application/json . |
void |
HttpRequest.sendStream(ReadStream<Buffer> body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) but with an HTTP request body stream. |
Modifier and Type | Method and Description |
---|---|
static Object |
HttpResponse_GroovyExtension.body(HttpResponse j_receiver) |
static <R> Object |
HttpResponse_GroovyExtension.bodyAsJson(HttpResponse j_receiver,
Class<Object> type) |
static Map<String,Object> |
HttpResponse_GroovyExtension.bodyAsJsonObject(HttpResponse j_receiver) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpRequest_GroovyExtension.sendJson(HttpRequest j_receiver,
Object body,
Handler<AsyncResult<HttpResponse<Object>>> handler) |
static void |
HttpRequest_GroovyExtension.sendJsonObject(HttpRequest j_receiver,
Map<String,Object> body,
Handler<AsyncResult<HttpResponse<Object>>> handler) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpResponse.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> HttpResponse |
HttpResponse.newInstance(HttpResponse arg) |
static <T> HttpResponse |
HttpResponse.newInstance(HttpResponse arg,
TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
HttpResponse(HttpResponse delegate) |
HttpResponse(HttpResponse delegate,
TypeArg<T> typeArg_0) |
Copyright © 2017. All rights reserved.