| Package | Description |
|---|---|
| io.apiman.gateway.engine | |
| io.apiman.gateway.engine.components | |
| io.apiman.gateway.engine.impl |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
void |
IRateLimiterComponent.accept(String bucketId,
RateBucketPeriod period,
int limit,
IAsyncResultHandler<Boolean> 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<Boolean> 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) |
<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.ServiceContract serviceContract,
IPolicyContext context,
List<PolicyWithConfiguration> policies,
IConnectorFactory connectorFactory)
Constructs a new
ServiceRequestExecutorImpl. |
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.