/** * Wrap an <code>httpClient</code> with a web client and default options. * @param httpClient the to wrap * @return the web client */ public static io.vertx.rxjava.ext.web.client.WebClient wrap(io.vertx.rxjava.core.http.HttpClient httpClient) { io.vertx.rxjava.ext.web.client.WebClient ret = io.vertx.rxjava.ext.web.client.WebClient.newInstance(io.vertx.ext.web.client.WebClient.wrap(httpClient.getDelegate())); return ret; }
/** * Wrap an <code>httpClient</code> with a web client and default options. * <p> * Only the specific web client portion of the <code>options</code> is used, the {@link io.vertx.core.http.HttpClientOptions} * of the <code>httpClient</code> is reused. * @param httpClient the to wrap * @param options the Web Client options * @return the web client */ public static io.vertx.rxjava.ext.web.client.WebClient wrap(io.vertx.rxjava.core.http.HttpClient httpClient, WebClientOptions options) { io.vertx.rxjava.ext.web.client.WebClient ret = io.vertx.rxjava.ext.web.client.WebClient.newInstance(io.vertx.ext.web.client.WebClient.wrap(httpClient.getDelegate(), options)); return ret; }
/** * Wrap an <code>httpClient</code> with a web client and default options. * @param httpClient the to wrap * @return the web client */ public static io.vertx.rxjava.ext.web.client.WebClient wrap(io.vertx.rxjava.core.http.HttpClient httpClient) { io.vertx.rxjava.ext.web.client.WebClient ret = io.vertx.rxjava.ext.web.client.WebClient.newInstance(io.vertx.ext.web.client.WebClient.wrap(httpClient.getDelegate())); return ret; }
/** * Wrap an <code>httpClient</code> with a web client and default options. * <p> * Only the specific web client portion of the <code>options</code> is used, the {@link io.vertx.core.http.HttpClientOptions} * of the <code>httpClient</code> is reused. * @param httpClient the to wrap * @param options the Web Client options * @return the web client */ public static io.vertx.rxjava.ext.web.client.WebClient wrap(io.vertx.rxjava.core.http.HttpClient httpClient, WebClientOptions options) { io.vertx.rxjava.ext.web.client.WebClient ret = io.vertx.rxjava.ext.web.client.WebClient.newInstance(io.vertx.ext.web.client.WebClient.wrap(httpClient.getDelegate(), options)); return ret; }