All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vtom.vertx.pipeline.component.web.client._VtmGetRequest Maven / Gradle / Ivy

There is a newer version: 1.1-beta
Show newest version
package io.vtom.vertx.pipeline.component.web.client;

import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpClientRequest;
import io.vertx.core.http.HttpClientResponse;
import io.vertx.ext.web.client.HttpRequest;
import io.vtom.vertx.pipeline.tk.Pvtk;

class _VtmGetRequest implements VtmRequest {


  private HttpRequest request;
  private VtmHttpClientOUT stepout;

  _VtmGetRequest(HttpRequest request, VtmHttpClientOUT stepout) {
    this.request = request;
    this.stepout = stepout;
  }

  @Override
  public void request(Handler> handler) {
    this.request.send(Pvtk.handleTo(handler));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy