| Package | Description |
|---|---|
| io.apiman.gateway.engine | |
| io.apiman.gateway.engine.components | |
| io.apiman.gateway.engine.impl | |
| io.apiman.gateway.engine.policy |
| 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.
|
Future<IAsyncResult<io.apiman.common.plugin.Plugin>> |
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,
long limit,
long increment,
IAsyncResultHandler<RateLimitResponse> handler)
Adds another request to the given rate bucket.
|
<T> void |
ISharedStateComponent.clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<Void> handler)
Clears/removes a property from the shared state environment.
|
<T> void |
ICacheStoreComponent.get(String cacheKey,
Class<T> type,
IAsyncResultHandler<T> handler)
Gets a cache entry.
|
<T> void |
ICacheStoreComponent.getBinary(String cacheKey,
Class<T> type,
IAsyncResultHandler<ISignalReadStream<T>> handler)
Gets a cache entry with its binary data.
|
<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.
|
IHttpClientRequest |
IHttpClientComponent.request(String endpoint,
HttpMethod method,
IAsyncResultHandler<IHttpClientResponse> handler)
Creates a new http client request.
|
<T> void |
ISharedStateComponent.setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<Void> handler)
Sets a single property in the shared state environment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryRateLimiterComponent.accept(String bucketId,
RateBucketPeriod period,
long limit,
long increment,
IAsyncResultHandler<RateLimitResponse> 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) |
<T> void |
InMemoryCacheStoreComponent.get(String cacheKey,
Class<T> type,
IAsyncResultHandler<T> handler) |
<T> void |
InMemoryCacheStoreComponent.getBinary(String cacheKey,
Class<T> type,
IAsyncResultHandler<ISignalReadStream<T>> handler) |
void |
SecureRegistryWrapper.getContract(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<io.apiman.gateway.engine.beans.ServiceContract> handler) |
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) |
void |
SecureRegistryWrapper.getService(String organizationId,
String serviceId,
String serviceVersion,
IAsyncResultHandler<io.apiman.gateway.engine.beans.Service> handler) |
void |
InMemoryRegistry.getService(String organizationId,
String serviceId,
String serviceVersion,
IAsyncResultHandler<io.apiman.gateway.engine.beans.Service> handler) |
Future<IAsyncResult<io.apiman.common.plugin.Plugin>> |
DefaultPluginRegistry.loadPlugin(io.apiman.common.plugin.PluginCoordinates coordinates,
IAsyncResultHandler<io.apiman.common.plugin.Plugin> userHandler) |
void |
SecureRegistryWrapper.publishService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler) |
void |
InMemoryRegistry.publishService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler) |
void |
SecureRegistryWrapper.registerApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler) |
void |
InMemoryRegistry.registerApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler) |
void |
SecureRegistryWrapper.retireService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler) |
void |
InMemoryRegistry.retireService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler) |
<T> void |
InMemorySharedStateComponent.setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<Void> handler) |
void |
SecureRegistryWrapper.unregisterApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler) |
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 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.