public class VertxPromiseServiceProvider extends VertxServiceProvider implements IServiceProvider
Constructor and Description |
---|
VertxPromiseServiceProvider(HttpClientProvider httpClientProvider,
ILocator locator,
java.lang.String apiKey) |
VertxPromiseServiceProvider(HttpClientProvider httpClientProvider,
ILocator locator,
java.lang.String apiKey,
java.util.List<java.lang.String> remoteIps) |
Modifier and Type | Method and Description |
---|---|
VertxPromiseServiceProvider |
from(io.vertx.core.http.HttpServerRequest req) |
<T> T |
instance(java.lang.Class<T> interfaceClass,
java.lang.String... params)
Instantiate a service
|
<A> A |
instance(java.lang.String tag,
java.lang.Class<A> interfaceClass,
java.lang.String... params) |
public VertxPromiseServiceProvider(HttpClientProvider httpClientProvider, ILocator locator, java.lang.String apiKey)
public VertxPromiseServiceProvider(HttpClientProvider httpClientProvider, ILocator locator, java.lang.String apiKey, java.util.List<java.lang.String> remoteIps)
public VertxPromiseServiceProvider from(io.vertx.core.http.HttpServerRequest req)
from
in class VertxServiceProvider
public <A> A instance(java.lang.String tag, java.lang.Class<A> interfaceClass, java.lang.String... params)
instance
in interface ITaggedServiceProvider
instance
in class VertxServiceProvider
public <T> T instance(java.lang.Class<T> interfaceClass, java.lang.String... params) throws ServerFault
IServiceProvider
instance
in interface IServiceProvider
interfaceClass
- service interfaceServerFault
- service instantiation failedCopyright © 2021. All Rights Reserved.