io.vtom.vertx.pipeline.component.web.client.VtomWebClient Maven / Gradle / Ivy
package io.vtom.vertx.pipeline.component.web.client;
import io.vertx.core.Vertx;
import io.vtom.vertx.pipeline.PipeComponent;
import io.vtom.vertx.pipeline.PipeStep;
import io.vtom.vertx.pipeline.Pipeline;
public class VtomWebClient implements PipeComponent {
public static VtomWebClient create() {
return new VtomWebClient();
}
public VtomWebClient() {
}
@Override
public PipeStep dependency(Vertx vertx) {
return this.dependency(Pipeline.pipeline(vertx));
}
@Override
public PipeStep dependency(Pipeline pipeline) {
return new VtomHttpClientStep(pipeline);
}
}