Modifier and Type | Method and Description |
---|---|
default HttpClient |
Vertx.createHttpClient()
Create a HTTP/HTTPS client using default options
|
default HttpClient |
Vertx.createHttpClient(HttpClientOptions clientOptions)
Create a HTTP/HTTPS client using the specified client options
|
default HttpClient |
Vertx.createHttpClient(HttpClientOptions clientOptions,
PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified client and pool options
|
default HttpClient |
Vertx.createHttpClient(PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified pool options
|
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClientBuilder.build()
Build and return the client.
|
HttpClient |
HttpClient.connectionHandler(Handler<HttpConnection> handler)
Deprecated.
instead use
HttpClientBuilder.withConnectHandler(Handler) |
HttpClient |
HttpClient.redirectHandler(java.util.function.Function<HttpClientResponse,Future<RequestOptions>> handler)
Deprecated.
instead use
HttpClientBuilder.withRedirectHandler(Function) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpServiceFactory.doRequest(HttpClient client,
File file,
URI url,
File signatureFile,
URI signatureURL,
Handler<AsyncResult<io.vertx.ext.httpservicefactory.HttpServiceFactory.Result>> handler) |
Modifier and Type | Method and Description |
---|---|
static WebClient |
WebClient.wrap(HttpClient httpClient)
Wrap an
httpClient with a web client and default options. |
static WebClient |
WebClient.wrap(HttpClient httpClient,
WebClientOptions options)
Wrap an
httpClient with a web client and default options. |
Modifier and Type | Method and Description |
---|---|
static HttpProxy |
HttpProxy.reverseProxy(HttpClient client)
Create a new
HttpProxy instance. |
static HttpProxy |
HttpProxy.reverseProxy(ProxyOptions options,
HttpClient client)
Create a new
HttpProxy instance. |
Modifier and Type | Method and Description |
---|---|
HttpProxy |
HttpProxy.originRequestProvider(java.util.function.BiFunction<HttpServerRequest,HttpClient,Future<HttpClientRequest>> provider)
Set a provider that creates the request to the origin server based the incoming HTTP request.
|
Modifier and Type | Method and Description |
---|---|
static SchemaRouter |
SchemaRouter.create(Vertx vertx,
HttpClient client,
FileSystem fs,
SchemaRouterOptions schemaRouterOptions)
Deprecated.
Create a new
SchemaRouter |
Constructor and Description |
---|
SchemaRouterImpl(Vertx vertx,
HttpClient client,
FileSystem fs,
SchemaRouterOptions options) |
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClient |
HttpClient.newInstance(HttpClient arg) |
Constructor and Description |
---|
HttpClient(HttpClient delegate) |
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClient |
HttpClient.newInstance(HttpClient arg) |
Constructor and Description |
---|
HttpClient(HttpClient delegate) |
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClient |
HttpClient.newInstance(HttpClient arg) |
Constructor and Description |
---|
HttpClient(HttpClient delegate) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
Copyright © 2024 Eclipse. All rights reserved.