package io.vertx.groovy.ext.web.client;
public class WebClient_GroovyExtension {
public static io.vertx.ext.web.client.HttpRequest<io.vertx.core.buffer.Buffer> request(io.vertx.ext.web.client.WebClient j_receiver, io.vertx.core.http.HttpMethod method, java.util.Map<String, Object> options) {
return io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.request(method,
options != null ? new io.vertx.core.http.RequestOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(options)) : null));
}
public static io.vertx.ext.web.client.HttpRequest<io.vertx.core.buffer.Buffer> request(io.vertx.ext.web.client.WebClient j_receiver, io.vertx.core.http.HttpMethod method, io.vertx.core.net.SocketAddress serverAddress, java.util.Map<String, Object> options) {
return io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.request(method,
serverAddress,
options != null ? new io.vertx.core.http.RequestOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(options)) : null));
}
}