| 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 |
IPluginRegistry.loadPlugin(io.apiman.common.plugin.PluginCoordinates coordinates,
IAsyncResultHandler<io.apiman.common.plugin.Plugin> handler)
Asynchronously loads a plugin.
|
| 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 |
ISharedStateComponent.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.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<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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryRateLimiterComponent.accept(String bucketId,
RateBucketPeriod period,
int limit,
IAsyncResultHandler<RateLimitResponse> handler) |
<T> void |
InMemorySharedStateComponent.clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<T> handler) |
IServiceRequestExecutor |
EngineImpl.executor(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<IEngineResult> resultHandler) |
<T> void |
InMemorySharedStateComponent.getProperty(String namespace,
String propertyName,
T defaultValue,
IAsyncResultHandler<T> handler) |
void |
DefaultPluginRegistry.loadPlugin(io.apiman.common.plugin.PluginCoordinates coordinates,
IAsyncResultHandler<io.apiman.common.plugin.Plugin> handler) |
<T> void |
InMemorySharedStateComponent.setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<T> handler) |
| Constructor and Description |
|---|
ServiceRequestExecutorImpl(io.apiman.gateway.engine.beans.ServiceRequest serviceRequest,
IAsyncResultHandler<IEngineResult> resultHandler,
io.apiman.gateway.engine.beans.Service service,
IPolicyContext context,
List<io.apiman.gateway.engine.beans.Policy> policies,
IPolicyFactory policyFactory,
IConnectorFactory connectorFactory)
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.