Modifier and Type | Method and Description |
---|---|
default HttpClient |
Vertx.createHttpClient()
Create a HTTP/HTTPS client using default options
|
HttpClient |
Vertx.createHttpClient(HttpClientOptions options)
Create a HTTP/HTTPS client using the specified options
|
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClient.connectionHandler(Handler<HttpConnection> handler)
Set a connection handler for the client.
|
HttpClient |
HttpClient.redirectHandler(java.util.function.Function<HttpClientResponse,Future<RequestOptions>> handler)
Set a redirect handler for the http client.
|
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.