| Modifier and Type | Method and Description |
|---|---|
IServiceConnection |
IServiceConnector.connect(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<IServiceConnectionResponse> handler)
Invokes the back-end system.
|
IServiceRequestExecutor |
IEngine.executor(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<IEngineResult> resultHandler)
Executes an asynchronous request for a managed service, with the provided
handler being passed an
EngineResultImpl with the status and result
of the policy chain invocation. |
void |
IRegistry.getContract(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<io.apiman.gateway.engine.beans.ServiceContract> handler)
Gets the
Contract to use based on information included in the inbound
service request. |
void |
IRegistry.getService(String organizationId,
String serviceId,
String serviceVersion,
IAsyncResultHandler<io.apiman.gateway.engine.beans.Service> handler)
Gets a service by its service coordinates.
|
void |
IPluginRegistry.loadPlugin(io.apiman.common.plugin.PluginCoordinates coordinates,
IAsyncResultHandler<io.apiman.common.plugin.Plugin> handler)
Asynchronously loads a plugin.
|
void |
IRegistry.publishService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler)
Publishes a new
Service into the registry. |
void |
IRegistry.registerApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler)
Registers a new
Application with the registry. |
void |
IRegistry.retireService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler)
Retires (removes) a
Service from the registry. |
void |
IRegistry.unregisterApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler)
Removes an
Application from the registry. |
| Modifier and Type | Method and Description |
|---|---|
void |
IRateLimiterComponent.accept(String bucketId,
RateBucketPeriod period,
int limit,
IAsyncResultHandler<RateLimitResponse> handler)
Adds another request to the given rate bucket.
|
<T> void |
IDataStoreComponent.clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<T> handler)
Clears a property from the shared state environment, returning the previous
value of the property or null if it was not previously set.
|
<T> void |
ISharedStateComponent.clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<Void> handler)
Clears/removes a property from the shared state environment.
|
<T> void |
ISharedStateComponent.getProperty(String namespace,
String propertyName,
T defaultValue,
IAsyncResultHandler<T> handler)
Gets the value of a single property stored in the shared state
environment.
|
<T> void |
IDataStoreComponent.getProperty(String namespace,
String propertyName,
T defaultValue,
IAsyncResultHandler<T> handler)
Gets the value of a single property stored in the shared state
environment.
|
IHttpClientRequest |
IHttpClientComponent.request(String endpoint,
HttpMethod method,
IAsyncResultHandler<IHttpClientResponse> handler)
Creates a new http client request.
|
<T> void |
IDataStoreComponent.setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<T> handler)
Sets a single property in the shared state environment, returning
the previous value of the property or null if it was not previously set.
|
<T> void |
ISharedStateComponent.setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<Void> handler)
Sets a single property in the shared state environment.
|
<T> void |
IDataStoreComponent.setProperty(String namespace,
String propertyName,
T value,
Long expiration,
IAsyncResultHandler<T> handler)
Sets a single property in the shared state environment for the given period of time,
returning the previous value of the property or null if it was not previously set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryRateLimiterComponent.accept(String bucketId,
RateBucketPeriod period,
int limit,
IAsyncResultHandler<RateLimitResponse> handler) |
<T> void |
InMemoryDataStoreComponent.clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<T> handler) |
<T> void |
InMemorySharedStateComponent.clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<Void> handler) |
protected void |
DefaultPluginRegistry.downloadArtifactTo(URL artifactUrl,
File pluginFile,
IAsyncResultHandler<File> handler)
Download the artifact at the given URL and store it locally into the given
plugin file path.
|
protected void |
DefaultPluginRegistry.downloadFromMavenRepo(io.apiman.common.plugin.PluginCoordinates coordinates,
URL mavenRepoUrl,
IAsyncResultHandler<File> handler)
Tries to download the plugin from the given remote maven repository.
|
protected void |
DefaultPluginRegistry.downloadPlugin(io.apiman.common.plugin.PluginCoordinates coordinates,
IAsyncResultHandler<File> handler)
Downloads the plugin via its maven GAV information.
|
IServiceRequestExecutor |
EngineImpl.executor(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<IEngineResult> resultHandler) |
void |
InMemoryRegistry.getContract(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<io.apiman.gateway.engine.beans.ServiceContract> handler) |
<T> void |
InMemorySharedStateComponent.getProperty(String namespace,
String propertyName,
T defaultValue,
IAsyncResultHandler<T> handler) |
<T> void |
InMemoryDataStoreComponent.getProperty(String namespace,
String propertyName,
T defaultValue,
IAsyncResultHandler<T> handler) |
void |
InMemoryRegistry.getService(String organizationId,
String serviceId,
String serviceVersion,
IAsyncResultHandler<io.apiman.gateway.engine.beans.Service> handler) |
void |
DefaultPluginRegistry.loadPlugin(io.apiman.common.plugin.PluginCoordinates coordinates,
IAsyncResultHandler<io.apiman.common.plugin.Plugin> userHandler) |
void |
InMemoryRegistry.publishService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler) |
void |
InMemoryRegistry.registerApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler) |
void |
InMemoryRegistry.retireService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler) |
<T> void |
InMemoryDataStoreComponent.setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<T> handler) |
<T> void |
InMemorySharedStateComponent.setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<Void> handler) |
<T> void |
InMemoryDataStoreComponent.setProperty(String namespace,
String propertyName,
T value,
Long expiration,
IAsyncResultHandler<T> handler)
This implementation will ignore the expiration time
|
void |
InMemoryRegistry.unregisterApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler) |
| Constructor and Description |
|---|
ServiceRequestExecutorImpl(io.apiman.gateway.engine.beans.ServiceRequest serviceRequest,
IAsyncResultHandler<IEngineResult> resultHandler,
IRegistry registry,
IPolicyContext context,
IPolicyFactory policyFactory,
IConnectorFactory connectorFactory,
IMetrics metrics)
Constructs a new
ServiceRequestExecutorImpl. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
InfluxDb09Driver.handleError(IAsyncResult<IHttpClientResponse> result,
IAsyncResultHandler<T> handler) |
void |
InfluxDb09Driver.listDatabases(IAsyncResultHandler<List<String>> handler)
List all databases
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PolicyFactoryImpl.doLoadFromClasspath(String policyImpl,
IAsyncResultHandler<IPolicy> handler)
Loads a policy from a class on the classpath.
|
void |
PolicyFactoryImpl.loadPolicy(String policyImpl,
IAsyncResultHandler<IPolicy> handler) |
void |
IPolicyFactory.loadPolicy(String policyImpl,
IAsyncResultHandler<IPolicy> handler)
Load a policy implementation asynchronously.
|
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.