public class URILoadingRegistry extends InMemoryRegistry implements AsyncInitialize
FileResourceFetcher) or HTTP/S (HttpResourceFetcher).
See the corresponding fetcher for additional options.FileResourceFetcher,
HttpResourceFetcher| Constructor and Description |
|---|
URILoadingRegistry(Map<String,String> options) |
URILoadingRegistry(io.vertx.core.Vertx vertx,
IEngineConfig vxConfig,
Map<String,String> options) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(IAsyncResultHandler<Void> resultHandler) |
void |
publishApi(Api api,
IAsyncResultHandler<Void> handler) |
protected void |
publishApiInternal(Api api,
IAsyncResultHandler<Void> handler) |
void |
registerClient(Client client,
IAsyncResultHandler<Void> handler) |
protected void |
registerClientInternal(Client client,
IAsyncResultHandler<Void> handler) |
static void |
reloadData(IAsyncHandler<Void> doneHandler) |
static void |
reset() |
void |
retireApi(Api api,
IAsyncResultHandler<Void> handler) |
void |
unregisterClient(Client client,
IAsyncResultHandler<Void> handler) |
getApi, getApiIndex, getClient, getClient, getClientIndex, getClientInternal, getContract, getMap, listApis, listApiVersions, listClients, listClientVersions, listOrgs, unregisterClientInternalpublic URILoadingRegistry(io.vertx.core.Vertx vertx,
IEngineConfig vxConfig,
Map<String,String> options)
public void initialize(IAsyncResultHandler<Void> resultHandler)
initialize in interface AsyncInitializepublic static void reloadData(IAsyncHandler<Void> doneHandler)
public static void reset()
public void publishApi(Api api, IAsyncResultHandler<Void> handler)
publishApi in interface IRegistrypublishApi in class InMemoryRegistrypublic void retireApi(Api api, IAsyncResultHandler<Void> handler)
retireApi in interface IRegistryretireApi in class InMemoryRegistrypublic void registerClient(Client client, IAsyncResultHandler<Void> handler)
registerClient in interface IRegistryregisterClient in class InMemoryRegistrypublic void unregisterClient(Client client, IAsyncResultHandler<Void> handler)
unregisterClient in interface IRegistryunregisterClient in class InMemoryRegistryprotected void publishApiInternal(Api api, IAsyncResultHandler<Void> handler)
protected void registerClientInternal(Client client, IAsyncResultHandler<Void> handler)
Copyright © 2021 Apiman. All rights reserved.