public class HttpClientComponentImpl extends Object implements io.apiman.gateway.engine.components.IHttpClientComponent
IHttpClientComponent. Ensure that
IHttpClientRequest.end() is called after writing is finished, or your data may never be sent, and
the connection will be left hanging.| Constructor and Description |
|---|
HttpClientComponentImpl(org.vertx.java.core.Vertx vertx) |
| Modifier and Type | Method and Description |
|---|---|
io.apiman.gateway.engine.components.http.IHttpClientRequest |
request(String endpoint,
io.apiman.gateway.engine.components.http.HttpMethod method,
io.apiman.gateway.engine.async.IAsyncResultHandler<io.apiman.gateway.engine.components.http.IHttpClientResponse> handler) |
public HttpClientComponentImpl(org.vertx.java.core.Vertx vertx)
public io.apiman.gateway.engine.components.http.IHttpClientRequest request(String endpoint, io.apiman.gateway.engine.components.http.HttpMethod method, io.apiman.gateway.engine.async.IAsyncResultHandler<io.apiman.gateway.engine.components.http.IHttpClientResponse> handler)
request in interface io.apiman.gateway.engine.components.IHttpClientComponentCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.