Class HttpEndpoint
- java.lang.Object
-
- io.vertx.mutiny.servicediscovery.types.HttpEndpoint
-
public class HttpEndpoint extends Object
for HTTP endpoint (REST api). Consumers receive a HTTP client configured with the host and port of the endpoint. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<HttpEndpoint>
__TYPE_ARG
static String
TYPE
static String
UNKNOWN
Unknown type.
-
Constructor Summary
Constructors Constructor Description HttpEndpoint(io.vertx.servicediscovery.types.HttpEndpoint delegate)
HttpEndpoint(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.vertx.servicediscovery.Record
createRecord(String name, boolean ssl, String host, int port, String root, io.vertx.core.json.JsonObject metadata)
static io.vertx.servicediscovery.Record
createRecord(String name, String host)
static io.vertx.servicediscovery.Record
createRecord(String name, String host, int port, String root)
static io.vertx.servicediscovery.Record
createRecord(String name, String host, int port, String root, io.vertx.core.json.JsonObject metadata)
boolean
equals(Object o)
static io.smallrye.mutiny.Uni<HttpClient>
getClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static io.smallrye.mutiny.Uni<HttpClient>
getClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static io.smallrye.mutiny.Uni<HttpClient>
getClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static io.smallrye.mutiny.Uni<HttpClient>
getClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static HttpClient
getClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
.static HttpClient
getClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
.static HttpClient
getClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
.static HttpClient
getClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
.static void
getClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
that ignores the result of the operation.static void
getClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
that ignores the result of the operation.static void
getClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
that ignores the result of the operation.static void
getClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
that ignores the result of the operation.io.vertx.servicediscovery.types.HttpEndpoint
getDelegate()
static io.smallrye.mutiny.Uni<WebClient>
getWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static io.smallrye.mutiny.Uni<WebClient>
getWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static io.smallrye.mutiny.Uni<WebClient>
getWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static io.smallrye.mutiny.Uni<WebClient>
getWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static WebClient
getWebClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Blocking variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
.static WebClient
getWebClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
static WebClient
getWebClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Blocking variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
.static WebClient
getWebClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Blocking variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
.static void
getWebClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
that ignores the result of the operation.static void
getWebClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
that ignores the result of the operation.static void
getWebClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
that ignores the result of the operation.static void
getWebClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
that ignores the result of the operation.int
hashCode()
static HttpEndpoint
newInstance(io.vertx.servicediscovery.types.HttpEndpoint arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<HttpEndpoint> __TYPE_ARG
-
UNKNOWN
public static final String UNKNOWN
Unknown type.- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpEndpoint
public HttpEndpoint(io.vertx.servicediscovery.types.HttpEndpoint delegate)
-
HttpEndpoint
public HttpEndpoint(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.servicediscovery.types.HttpEndpoint getDelegate()
-
createRecord
public static io.vertx.servicediscovery.Record createRecord(String name, String host, int port, String root, io.vertx.core.json.JsonObject metadata)
- Parameters:
name
- the service namehost
- the host (IP or DNS name), it must be the _public_ IP / nameport
- the port, it must be the _public_ portroot
- the path of the service, "/" if not setmetadata
- additional metadata- Returns:
- the created record
-
createRecord
public static io.vertx.servicediscovery.Record createRecord(String name, boolean ssl, String host, int port, String root, io.vertx.core.json.JsonObject metadata)
- Parameters:
name
- the service namessl
- whether or not the service is using HTTPShost
- the host (IP or DNS name), it must be the _public_ IP / nameport
- the port, it must be the _public_ portroot
- the path of the service, "/" if not setmetadata
- additional metadata- Returns:
- the created record
-
createRecord
public static io.vertx.servicediscovery.Record createRecord(String name, String host, int port, String root)
- Parameters:
name
- the service namehost
- the host, must be publicport
- the portroot
- the root, if not set "/" is used- Returns:
- the created record
-
createRecord
public static io.vertx.servicediscovery.Record createRecord(String name, String host)
- Parameters:
name
- the namehost
- the host- Returns:
- the created record
-
getClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<HttpClient> getClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optional- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getClientAndAwait
public static HttpClient getClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filter, optional- Returns:
- the HttpClient instance produced by the operation.
-
getClientAndForget
public static void getClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
that ignores the result of the operation.This method subscribes on the result of
getClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optional
-
getWebClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<WebClient> getWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optional- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getWebClientAndAwait
public static WebClient getWebClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Blocking variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filter, optional- Returns:
- the WebClient instance produced by the operation.
-
getWebClientAndForget
public static void getWebClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
that ignores the result of the operation.This method subscribes on the result of
getWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optional
-
getClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<HttpClient> getClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP clientUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the client- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getClientAndAwait
public static HttpClient getClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the client- Returns:
- the HttpClient instance produced by the operation.
-
getClientAndForget
public static void getClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
that ignores the result of the operation.This method subscribes on the result of
getClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the client
-
getWebClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<WebClient> getWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP clientUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the client- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getWebClientAndAwait
public static WebClient getWebClientAndAwait(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Blocking variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the client- Returns:
- the WebClient instance produced by the operation.
-
getWebClientAndForget
public static void getWebClientAndForget(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
that ignores the result of the operation.This method subscribes on the result of
getWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,JsonObject,JsonObject)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the client
-
getClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<HttpClient> getClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filter- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getClientAndAwait
public static HttpClient getClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filter- Returns:
- the HttpClient instance produced by the operation.
-
getClientAndForget
public static void getClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
that ignores the result of the operation.This method subscribes on the result of
getClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filter
-
getWebClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<WebClient> getWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filter- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getWebClientAndAwait
public static WebClient getWebClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Blocking variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filter- Returns:
- the WebClient instance produced by the operation.
-
getWebClientAndForget
public static void getWebClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
that ignores the result of the operation.This method subscribes on the result of
getWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filter
-
getClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<HttpClient> getClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the client- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getClientAndAwait
public static HttpClient getClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Blocking variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the client- Returns:
- the HttpClient instance produced by the operation.
-
getClientAndForget
public static void getClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Variant ofgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
that ignores the result of the operation.This method subscribes on the result of
getClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the client
-
getWebClient
@CheckReturnValue public static io.smallrye.mutiny.Uni<WebClient> getWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the client- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
getWebClientAndAwait
public static WebClient getWebClientAndAwait(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Blocking variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the client- Returns:
- the WebClient instance produced by the operation.
-
getWebClientAndForget
public static void getWebClientAndForget(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
Variant ofgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
that ignores the result of the operation.This method subscribes on the result of
getWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromgetWebClient(io.vertx.mutiny.servicediscovery.ServiceDiscovery,Function,JsonObject)
but you don't need to compose it with other operations.- Parameters:
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the client
-
newInstance
public static HttpEndpoint newInstance(io.vertx.servicediscovery.types.HttpEndpoint arg)
-
-