A B C D E F G H I L M P R S T U V W 

A

abort() - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
abort() - Method in interface io.apiman.gateway.engine.io.IAbortable
Signal abort.
abort() - Method in class io.apiman.gateway.engine.policy.Chain
Send abort signal to all policies.
AbstractEngineFactory - Class in io.apiman.gateway.engine.impl
Base class useful for creating engine factories.
AbstractEngineFactory() - Constructor for class io.apiman.gateway.engine.impl.AbstractEngineFactory
Constructor.
AbstractSignalStream<H> - Class in io.apiman.gateway.engine.io
As AbstractSignalStream but with ISignalReadStream.transmit() to signal body transmission may begin
AbstractSignalStream() - Constructor for class io.apiman.gateway.engine.io.AbstractSignalStream
 
AbstractStream<H> - Class in io.apiman.gateway.engine.io
Generic representation of a three part stream: head, body and end, with handlers and operators for each.
AbstractStream() - Constructor for class io.apiman.gateway.engine.io.AbstractStream
 
accept(String, RateBucketPeriod, int, IAsyncResultHandler<RateLimitResponse>) - Method in interface io.apiman.gateway.engine.components.IRateLimiterComponent
Adds another request to the given rate bucket.
accept(String, RateBucketPeriod, int, IAsyncResultHandler<RateLimitResponse>) - Method in class io.apiman.gateway.engine.impl.InMemoryRateLimiterComponent
 
addComponent(Class<T>, T) - Method in class io.apiman.gateway.engine.impl.DefaultComponentRegistry
Adds a component to the registry.
addComponentMapping(Class<? extends IComponent>, IComponent) - Method in class io.apiman.gateway.engine.impl.ConfigDrivenComponentRegistry
Add a component that may have been instantiated elsewhere.
addHeader(String, String) - Method in interface io.apiman.gateway.engine.components.http.IHttpClientRequest
Adds a header to the request.
append(IApimanBuffer) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
append(IApimanBuffer, int, int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
append(byte) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
append(byte[]) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
append(byte[], int, int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Byte array to append with given offset and length.
append(String) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
append(String, String) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
apply(ServiceRequest, IPolicyContext, Object, IPolicyChain<ServiceRequest>) - Method in interface io.apiman.gateway.engine.policy.IPolicy
Applies a policy upon a ServiceRequest based on information included in the request itself in addition to its context and configuration.
apply(ServiceResponse, IPolicyContext, Object, IPolicyChain<ServiceResponse>) - Method in interface io.apiman.gateway.engine.policy.IPolicy
Applies a policy upon a ServiceResponse based on information included in the response itself in addition to its context and configuration.
applyPolicy(PolicyWithConfiguration, IPolicyContext) - Method in class io.apiman.gateway.engine.policy.Chain
Called to apply the given policy to the service object (request or response).
applyPolicy(PolicyWithConfiguration, IPolicyContext) - Method in class io.apiman.gateway.engine.policy.RequestChain
 
applyPolicy(PolicyWithConfiguration, IPolicyContext) - Method in class io.apiman.gateway.engine.policy.ResponseChain
 
AsyncResultImpl<T> - Class in io.apiman.gateway.engine.async
A simple implementation of the async result interface.

B

bodyHandler - Variable in class io.apiman.gateway.engine.io.AbstractStream
 
bodyHandler(IAsyncHandler<IApimanBuffer>) - Method in class io.apiman.gateway.engine.io.AbstractStream
 
bodyHandler(IAsyncHandler<IApimanBuffer>) - Method in interface io.apiman.gateway.engine.io.IReadStream
Handler called when a body chunk has arrived.
buildJsonRequest(RequestMetric) - Method in class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Metrics
 

C

CachedResponse - Class in io.apiman.gateway.engine.impl
This class aims to embody all the data related to a service response.
CachedResponse(String) - Constructor for class io.apiman.gateway.engine.impl.CachedResponse
 
cancelAll() - Method in interface io.apiman.gateway.engine.components.IPeriodicComponent
Cancel all timers.
cancelTimer(long) - Method in interface io.apiman.gateway.engine.components.IPeriodicComponent
Cancel a timer using its ID.
Chain<H> - Class in io.apiman.gateway.engine.policy
Traverses and executes a series of policies according to implementor's settings and iterator.
Chain(List<PolicyWithConfiguration>, IPolicyContext) - Constructor for class io.apiman.gateway.engine.policy.Chain
Constructor.
chainPolicyHandlers() - Method in class io.apiman.gateway.engine.policy.Chain
Chain together the body handlers.
clearProperty(String, String, IAsyncResultHandler<T>) - Method in interface io.apiman.gateway.engine.components.IDataStoreComponent
Clears a property from the shared state environment, returning the previous value of the property or null if it was not previously set.
clearProperty(String, String, IAsyncResultHandler<Void>) - Method in interface io.apiman.gateway.engine.components.ISharedStateComponent
Clears/removes a property from the shared state environment.
clearProperty(String, String, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.impl.InMemoryDataStoreComponent
 
clearProperty(String, String, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.impl.InMemorySharedStateComponent
 
close() - Method in interface io.apiman.gateway.engine.components.http.IHttpClientResponse
Called to close the connection to the remote server.
ConfigDrivenComponentRegistry - Class in io.apiman.gateway.engine.impl
A simple component registry.
ConfigDrivenComponentRegistry(IEngineConfig) - Constructor for class io.apiman.gateway.engine.impl.ConfigDrivenComponentRegistry
Constructor.
ConfigDrivenEngineFactory - Class in io.apiman.gateway.engine.impl
Factory for creating the engine, obviously.
ConfigDrivenEngineFactory(IEngineConfig) - Constructor for class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
Constructor.
connect(ServiceRequest, IAsyncResultHandler<IServiceConnectionResponse>) - Method in interface io.apiman.gateway.engine.IServiceConnector
Invokes the back-end system.
count - Variable in class io.apiman.gateway.engine.rates.RateLimiterBucket
 
create(T) - Static method in class io.apiman.gateway.engine.async.AsyncResultImpl
Convenience method for creating an async result.
create(Throwable) - Static method in class io.apiman.gateway.engine.async.AsyncResultImpl
Convenience method for creating an async result.
create(Throwable, Class<T>) - Static method in class io.apiman.gateway.engine.async.AsyncResultImpl
Convenience method for creating an async result.
create(Class<T>, Map<String, String>) - Static method in class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
Creates a new instance of the given type, passing the given config map if possible (if the class has a Map constructor).
createAndRegisterComponent(Class<T>) - Method in class io.apiman.gateway.engine.impl.ConfigDrivenComponentRegistry
Creates the component and registers it in the registry.
createBuffer() - Method in interface io.apiman.gateway.engine.components.IBufferFactoryComponent
Instantiate an IApimanBuffer.
createBuffer(int) - Method in interface io.apiman.gateway.engine.components.IBufferFactoryComponent
Instantiate an IApimanBuffer of given size.
createBuffer(String) - Method in interface io.apiman.gateway.engine.components.IBufferFactoryComponent
Instantiate an IApimanBuffer with String.
createBuffer(String, String) - Method in interface io.apiman.gateway.engine.components.IBufferFactoryComponent
Instantiate an IApimanBuffer with String.
createBuffer(byte[]) - Method in interface io.apiman.gateway.engine.components.IBufferFactoryComponent
Instantiate an IApimanBuffer with Byte array.
createComponentRegistry() - Method in class io.apiman.gateway.engine.impl.AbstractEngineFactory
Creates a component registry.
createComponentRegistry() - Method in class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
 
createComponentRegistry() - Method in class io.apiman.gateway.engine.impl.DefaultEngineFactory
 
createConnector(ServiceRequest, Service) - Method in interface io.apiman.gateway.engine.IConnectorFactory
Creates a connector to a back-end system.
createConnector() - Method in interface io.apiman.gateway.engine.policy.IConnectorInterceptor
 
createConnectorFactory() - Method in class io.apiman.gateway.engine.impl.AbstractEngineFactory
Creates a connector factory.
createConnectorFactory() - Method in class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
 
createEngine() - Method in interface io.apiman.gateway.engine.IEngineFactory
Call this to create a new engine.
createEngine() - Method in class io.apiman.gateway.engine.impl.AbstractEngineFactory
Call this to create a new engine.
createFailure(PolicyFailureType, int, String) - Method in interface io.apiman.gateway.engine.components.IPolicyFailureFactoryComponent
Creates a policy failure for the given information.
createFailure(PolicyFailureType, int, String) - Method in class io.apiman.gateway.engine.impl.DefaultPolicyFailureFactoryComponent
 
createMetrics() - Method in class io.apiman.gateway.engine.impl.AbstractEngineFactory
Creates the metrics system.
createMetrics() - Method in class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
 
createMetrics() - Method in class io.apiman.gateway.engine.impl.DefaultEngineFactory
 
createPluginClassLoader(File) - Method in class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Creates a plugin classloader for the given plugin file.
createPluginRegistry() - Method in class io.apiman.gateway.engine.impl.AbstractEngineFactory
Creates a plugin registry.
createPluginRegistry() - Method in class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
 
createPluginRegistry() - Method in class io.apiman.gateway.engine.impl.DefaultEngineFactory
 
createPolicyFactory() - Method in class io.apiman.gateway.engine.impl.AbstractEngineFactory
Creates a policy factory.
createPolicyFactory() - Method in class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
 
createPolicyFactory() - Method in class io.apiman.gateway.engine.impl.DefaultEngineFactory
 
createRegistry() - Method in class io.apiman.gateway.engine.impl.AbstractEngineFactory
Creates a registry.
createRegistry() - Method in class io.apiman.gateway.engine.impl.ConfigDrivenEngineFactory
 
createRegistry() - Method in class io.apiman.gateway.engine.impl.DefaultEngineFactory
 

D

DefaultComponentRegistry - Class in io.apiman.gateway.engine.impl
A default component registry, useful primarily for testing and bootstrapping.
DefaultComponentRegistry() - Constructor for class io.apiman.gateway.engine.impl.DefaultComponentRegistry
Constructor.
DefaultEngineFactory - Class in io.apiman.gateway.engine.impl
A default engine factory useful for quickly getting ramped up with apiman.
DefaultEngineFactory() - Constructor for class io.apiman.gateway.engine.impl.DefaultEngineFactory
Constructor.
DefaultPluginRegistry - Class in io.apiman.gateway.engine.impl
A simple plugin registry that stores plugins in a temporary location.
DefaultPluginRegistry() - Constructor for class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Constructor.
DefaultPluginRegistry(Map<String, String>) - Constructor for class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Constructor.
DefaultPluginRegistry(File) - Constructor for class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Constructor.
DefaultPluginRegistry(File, Set<URL>) - Constructor for class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Constructor.
DefaultPolicyFailureFactoryComponent - Class in io.apiman.gateway.engine.impl
A simple failure factory.
DefaultPolicyFailureFactoryComponent() - Constructor for class io.apiman.gateway.engine.impl.DefaultPolicyFailureFactoryComponent
Constructor.
doApply(H) - Method in class io.apiman.gateway.engine.policy.Chain
 
doApply(T) - Method in interface io.apiman.gateway.engine.policy.IPolicyChain
Called by a policy when it has successfully completed applying itself.
doFailure(PolicyFailure) - Method in class io.apiman.gateway.engine.policy.Chain
Handle a policy failure.
doFailure(PolicyFailure) - Method in interface io.apiman.gateway.engine.policy.IPolicyChain
Called by a policy when it has detected a violation or failure in the policy.
doLoadFromClasspath(String, IAsyncResultHandler<IPolicy>) - Method in class io.apiman.gateway.engine.policy.PolicyFactoryImpl
Loads a policy from a class on the classpath.
downloadArtifactTo(URL, File, IAsyncResultHandler<File>) - Method in class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Download the artifact at the given URL and store it locally into the given plugin file path.
downloadFromMavenRepo(PluginCoordinates, URL, IAsyncResultHandler<File>) - Method in class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Tries to download the plugin from the given remote maven repository.
downloadPlugin(PluginCoordinates, IAsyncResultHandler<File>) - Method in class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Downloads the plugin via its maven GAV information.

E

end() - Method in interface io.apiman.gateway.engine.components.http.IHttpClientRequest
Called once all headers have been set and all data has been written.
end() - Method in class io.apiman.gateway.engine.io.AbstractStream
 
end() - Method in interface io.apiman.gateway.engine.io.IWriteStream
Signal transmission has ended.
end() - Method in class io.apiman.gateway.engine.policy.Chain
 
endHandler - Variable in class io.apiman.gateway.engine.io.AbstractStream
 
endHandler(IAsyncHandler<Void>) - Method in class io.apiman.gateway.engine.io.AbstractStream
 
endHandler(IAsyncHandler<Void>) - Method in interface io.apiman.gateway.engine.io.IReadStream
Handler signals when transmission has completed; no further calls to IReadStream.bodyHandler(IAsyncHandler) should occur after this has been invoked.
endWrite() - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
EngineImpl - Class in io.apiman.gateway.engine.impl
The implementation of the API Management runtime engine.
EngineImpl(IRegistry, IPluginRegistry, IComponentRegistry, IConnectorFactory, IPolicyFactory, IMetrics) - Constructor for class io.apiman.gateway.engine.impl.EngineImpl
Constructor.
EngineResultImpl - Class in io.apiman.gateway.engine.impl
The result of a call through the policy engine.
EngineResultImpl() - Constructor for class io.apiman.gateway.engine.impl.EngineResultImpl
Constructor.
EngineResultImpl(ServiceResponse) - Constructor for class io.apiman.gateway.engine.impl.EngineResultImpl
Construct a successful EngineResult.
EngineResultImpl(PolicyFailure) - Constructor for class io.apiman.gateway.engine.impl.EngineResultImpl
Construct an unsuccessful EngineResult.
execute() - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
 
execute() - Method in interface io.apiman.gateway.engine.IServiceRequestExecutor
Execute the policy chain and request.
executor(ServiceRequest, IAsyncResultHandler<IEngineResult>) - Method in interface io.apiman.gateway.engine.IEngine
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.
executor(ServiceRequest, IAsyncResultHandler<IEngineResult>) - Method in class io.apiman.gateway.engine.impl.EngineImpl
 

F

finished - Variable in class io.apiman.gateway.engine.io.AbstractStream
 

G

get(int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
get() - Static method in class io.apiman.gateway.engine.Version
 
getApplicationId() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getApplicationOrgId() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getApplicationVersion() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getAttribute(String, T) - Method in interface io.apiman.gateway.engine.policy.IPolicyContext
Fetches an attribute value from the conversation.
getAttribute(String, T) - Method in class io.apiman.gateway.engine.policy.PolicyContextImpl
 
getBody() - Method in interface io.apiman.gateway.engine.components.http.IHttpClientResponse
 
getBytes() - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
getBytes(int, int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Get ApimanBuffer as byte array constrained by indices.
getCode() - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
getComponent(Class<T>) - Method in interface io.apiman.gateway.engine.IComponentRegistry
Gets a specific type of component from the registry.
getComponent(Class<T>) - Method in class io.apiman.gateway.engine.impl.ConfigDrivenComponentRegistry
 
getComponent(Class<T>) - Method in class io.apiman.gateway.engine.impl.DefaultComponentRegistry
 
getComponent(Class<T>) - Method in interface io.apiman.gateway.engine.policy.IPolicyContext
Gets a component by type.
getComponent(Class<T>) - Method in class io.apiman.gateway.engine.policy.PolicyContextImpl
 
getComponentClass(Class<T>) - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getComponentConfig(Class<T>) - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getComponentRegistry() - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
getConfiguration() - Method in class io.apiman.gateway.engine.policy.PolicyWithConfiguration
 
getConnectorFactory() - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
getConnectorFactoryClass() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getConnectorFactoryConfig() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getConnectorInterceptor() - Method in interface io.apiman.gateway.engine.policy.IPolicyContext
 
getConnectorInterceptor() - Method in class io.apiman.gateway.engine.policy.PolicyContextImpl
 
getContext() - Method in class io.apiman.gateway.engine.policy.Chain
 
getContract(ServiceRequest, IAsyncResultHandler<ServiceContract>) - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
 
getContract(ServiceRequest, IAsyncResultHandler<ServiceContract>) - Method in interface io.apiman.gateway.engine.IRegistry
Gets the Contract to use based on information included in the inbound service request.
getContractId() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getError() - Method in class io.apiman.gateway.engine.async.AsyncResultImpl
 
getError() - Method in interface io.apiman.gateway.engine.async.IAsyncResult
Any unhandled exception raised during the course of execution.
getErrorMessage() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getException() - Method in exception io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver.InfluxException
 
getFailureCode() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getFailureReason() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getHead() - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
getHead() - Method in interface io.apiman.gateway.engine.io.IReadStream
Return the head object's handler (e.g.
getHead() - Method in class io.apiman.gateway.engine.policy.Chain
 
getHeader(String) - Method in interface io.apiman.gateway.engine.components.http.IHttpClientResponse
 
getHeaders() - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
getId() - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
getInputStream() - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
getMap() - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
 
getMessage() - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
getMethod() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getMetrics() - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
getMetricsClass() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getMetricsConfig() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getNativeBuffer() - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Get encapsulated native buffer.
getPluginRegistry() - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
getPluginRegistryClass() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getPluginRegistryConfig() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getPolicies() - Method in class io.apiman.gateway.engine.policy.Chain
 
getPolicy() - Method in class io.apiman.gateway.engine.policy.PolicyWithConfiguration
 
getPolicyFactory() - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
getPolicyFactoryClass() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getPolicyFactoryConfig() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getPolicyFailure() - Method in interface io.apiman.gateway.engine.IEngineResult
 
getPolicyFailure() - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
getProperty(String, String, T, IAsyncResultHandler<T>) - Method in interface io.apiman.gateway.engine.components.IDataStoreComponent
Gets the value of a single property stored in the shared state environment.
getProperty(String, String, T, IAsyncResultHandler<T>) - Method in interface io.apiman.gateway.engine.components.ISharedStateComponent
Gets the value of a single property stored in the shared state environment.
getProperty(String, String, T, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.impl.InMemoryDataStoreComponent
 
getProperty(String, String, T, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.impl.InMemorySharedStateComponent
 
getRegistry() - Method in interface io.apiman.gateway.engine.IEngine
Returns the registry that can be used to publish/retire services and register/unregister applications.
getRegistry() - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
getRegistryClass() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getRegistryConfig() - Method in interface io.apiman.gateway.engine.IEngineConfig
 
getRemaining() - Method in class io.apiman.gateway.engine.components.rate.RateLimitResponse
 
getRequestDataHandler(ServiceRequest, IPolicyContext) - Method in interface io.apiman.gateway.engine.policy.IDataPolicy
This method should return a stream that will be used when piping the request data from the client to the back-end service.
getRequestDuration() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getRequestEnd() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getRequestStart() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getReset() - Method in class io.apiman.gateway.engine.components.rate.RateLimitResponse
 
getResetMillis(RateBucketPeriod) - Method in class io.apiman.gateway.engine.rates.RateLimiterBucket
Returns the number of millis until the period resets.
getResource() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getResponse() - Method in exception io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver.InfluxException
 
getResponseCode() - Method in interface io.apiman.gateway.engine.components.http.IHttpClientResponse
 
getResponseCode() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getResponseDataHandler(ServiceResponse, IPolicyContext) - Method in interface io.apiman.gateway.engine.policy.IDataPolicy
This method should return a stream that will be used when piping the response data from the back-end service to the client.
getResponseMessage() - Method in interface io.apiman.gateway.engine.components.http.IHttpClientResponse
 
getResponseMessage() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getResult() - Method in class io.apiman.gateway.engine.async.AsyncResultImpl
 
getResult() - Method in interface io.apiman.gateway.engine.async.IAsyncResult
Contains the async call if it succeeded, otherwise null.
getService(String, String, String, IAsyncResultHandler<Service>) - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
 
getService(String, String, String, IAsyncResultHandler<Service>) - Method in interface io.apiman.gateway.engine.IRegistry
Gets a service by its service coordinates.
getServiceDuration() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getServiceEnd() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getServiceHandler(IPolicy) - Method in class io.apiman.gateway.engine.policy.Chain
Gets the service handler for the policy.
getServiceHandler(IPolicy) - Method in class io.apiman.gateway.engine.policy.RequestChain
 
getServiceHandler(IPolicy) - Method in class io.apiman.gateway.engine.policy.ResponseChain
 
getServiceId() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getServiceOrgId() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getServiceResponse() - Method in interface io.apiman.gateway.engine.IEngineResult
 
getServiceResponse() - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
getServiceStart() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getServiceVersion() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
getString(int, int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
getString(int, int, String) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
getVersion() - Method in interface io.apiman.gateway.engine.IEngine
 
getVersion() - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
getVersionDate() - Method in class io.apiman.gateway.engine.Version
 
getVersionString() - Method in class io.apiman.gateway.engine.Version
 

H

handle(T) - Method in interface io.apiman.gateway.engine.async.IAsyncHandler
Called when an async result is available.
handleBody(IApimanBuffer) - Method in class io.apiman.gateway.engine.io.AbstractStream
Called to handle a body chunk.
handleEnd() - Method in class io.apiman.gateway.engine.io.AbstractStream
Signals the end of the stream.
handleError(IAsyncResult<IHttpClientResponse>, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver
 
handleHead(ServiceResponse) - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
handleHead(H) - Method in class io.apiman.gateway.engine.io.AbstractStream
Called to handle the head.
handleHead(H) - Method in class io.apiman.gateway.engine.policy.Chain
 
handleStream() - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
Called when the service connector is ready to receive data from the inbound client request.
hasProperty(String, String) - Method in interface io.apiman.gateway.engine.components.IDataStoreComponent
Checks whether the requested property exists in the Data Store
hasProperty(String, String) - Method in class io.apiman.gateway.engine.impl.InMemoryDataStoreComponent
 
headHandler - Variable in class io.apiman.gateway.engine.io.AbstractStream
 
headHandler(IAsyncHandler<H>) - Method in class io.apiman.gateway.engine.io.AbstractStream
Sets the head handler.
HttpMethod - Enum in io.apiman.gateway.engine.components.http
The http method to use when sending a client request.

I

i18n - Static variable in class io.apiman.gateway.engine.i18n.Messages
 
IAbortable - Interface in io.apiman.gateway.engine.io
An object that can be aborted.
IApimanBuffer - Interface in io.apiman.gateway.engine.io
A generic buffer used throughout APIMan, principally for streaming body chunks.
IAsyncHandler<T> - Interface in io.apiman.gateway.engine.async
Asynchronous handler called when an async operation completes.
IAsyncResult<T> - Interface in io.apiman.gateway.engine.async
Models the result of an asynchronous operation in the API Gateway.
IAsyncResultHandler<T> - Interface in io.apiman.gateway.engine.async
Asynchronous handler called when an async operation wrapped in a result completes.
IBufferFactoryComponent - Interface in io.apiman.gateway.engine.components
Allows platform-specific buffer objects to be generated.
IComponent - Interface in io.apiman.gateway.engine
All components provided to policies during their runtime must implement this interface.
IComponentRegistry - Interface in io.apiman.gateway.engine
A registry to discover and lookup components used by the policy implementations.
IConnectorFactory - Interface in io.apiman.gateway.engine
Factory used to create connectors to back-end systems.
IConnectorInterceptor - Interface in io.apiman.gateway.engine.policy
Connector interceptor to be used for create the IServiceConnector which will be used instead of the real connector configured in the gateway
IDataPolicy - Interface in io.apiman.gateway.engine.policy
Policies that wish to be applied to the data handling phase of apiman must implement this interface.
IDataStoreComponent - Interface in io.apiman.gateway.engine.components
A Component that allows policies to share data across invocations and potentially across nodes (depending on the implementation).
IEngine - Interface in io.apiman.gateway.engine
The API Management runtime engine.
IEngineConfig - Interface in io.apiman.gateway.engine
Engine configuration - used by the engine factory when creating the engine.
IEngineFactory - Interface in io.apiman.gateway.engine
Factory for creating the engine.
IEngineResult - Interface in io.apiman.gateway.engine
This is what is passed to the original caller when the engine wants to return either a successful ServiceResponse or a PolicyFailure.
IHttpClientComponent - Interface in io.apiman.gateway.engine.components
A component that policies can use to make HTTP calls.
IHttpClientRequest - Interface in io.apiman.gateway.engine.components.http
An async client request returned by the http client component.
IHttpClientResponse - Interface in io.apiman.gateway.engine.components.http
An http client response is returned when an http client request is made to some remote server.
IMetrics - Interface in io.apiman.gateway.engine
An interface used by the engine to report metric information as it processes requests.
InfluxDb09Driver - Class in io.apiman.gateway.engine.metrics.impl.influxdb
A simple async HTTP impl of the influxdb driver.
InfluxDb09Driver(IHttpClientComponent, String, String, String) - Constructor for class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver
 
InfluxDb09Driver.InfluxException - Exception in io.apiman.gateway.engine.metrics.impl.influxdb
 
InfluxDb09Driver.InfluxException(IHttpClientResponse) - Constructor for exception io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver.InfluxException
 
InfluxDb09Driver.InfluxException(RuntimeException) - Constructor for exception io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver.InfluxException
 
InfluxDb09Metrics - Class in io.apiman.gateway.engine.metrics.impl.influxdb
InfluxDB 0.9.x metrics implementation
InfluxDb09Metrics(Map<String, String>) - Constructor for class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Metrics
Constructor.
initialize() - Method in class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Metrics
 
InMemoryDataStoreComponent - Class in io.apiman.gateway.engine.impl
An in-memory only implementation of the data store component.
InMemoryDataStoreComponent() - Constructor for class io.apiman.gateway.engine.impl.InMemoryDataStoreComponent
Constructor.
InMemoryMetrics - Class in io.apiman.gateway.engine.impl
An in-memory implementation of IMetrics.
InMemoryMetrics() - Constructor for class io.apiman.gateway.engine.impl.InMemoryMetrics
Constructor.
InMemoryRateLimiterComponent - Class in io.apiman.gateway.engine.impl
A simple in-memory implementation of a rate limiter.
InMemoryRateLimiterComponent() - Constructor for class io.apiman.gateway.engine.impl.InMemoryRateLimiterComponent
Constructor.
InMemoryRegistry - Class in io.apiman.gateway.engine.impl
An in-memory implementation of the registry.
InMemoryRegistry() - Constructor for class io.apiman.gateway.engine.impl.InMemoryRegistry
Constructor.
InMemorySharedStateComponent - Class in io.apiman.gateway.engine.impl
An in-memory only implementation of the shared state component.
InMemorySharedStateComponent() - Constructor for class io.apiman.gateway.engine.impl.InMemorySharedStateComponent
Constructor.
insert(int, IApimanBuffer) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Inserts data at given index with buffer.
insert(int, IApimanBuffer, int, int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Inserts data at the given index with buffer at given offset and constrained length.
insert(int, byte[]) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Inserts data from byte array into the index location.
insert(int, byte[], int, int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Inserts data from the byte array constrained by offset and length.
insert(int, String) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Inserts data at index from value of string.
insert(int, String, String) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
Inserts data at index from value of string.
io.apiman.gateway.engine - package io.apiman.gateway.engine
 
io.apiman.gateway.engine.async - package io.apiman.gateway.engine.async
 
io.apiman.gateway.engine.components - package io.apiman.gateway.engine.components
 
io.apiman.gateway.engine.components.http - package io.apiman.gateway.engine.components.http
 
io.apiman.gateway.engine.components.rate - package io.apiman.gateway.engine.components.rate
 
io.apiman.gateway.engine.i18n - package io.apiman.gateway.engine.i18n
 
io.apiman.gateway.engine.impl - package io.apiman.gateway.engine.impl
 
io.apiman.gateway.engine.io - package io.apiman.gateway.engine.io
 
io.apiman.gateway.engine.metrics - package io.apiman.gateway.engine.metrics
 
io.apiman.gateway.engine.metrics.impl.influxdb - package io.apiman.gateway.engine.metrics.impl.influxdb
 
io.apiman.gateway.engine.policy - package io.apiman.gateway.engine.policy
 
io.apiman.gateway.engine.rates - package io.apiman.gateway.engine.rates
 
IPeriodicComponent - Interface in io.apiman.gateway.engine.components
IPluginRegistry - Interface in io.apiman.gateway.engine
A simple registry that can be used to lookup a plugin.
IPolicy - Interface in io.apiman.gateway.engine.policy
All policy implementations must implement this interface.
IPolicyChain<T> - Interface in io.apiman.gateway.engine.policy
The interface given to policies that allows them to asynchronously signal when events occur.
IPolicyContext - Interface in io.apiman.gateway.engine.policy
Context information provided to an executing policy.
IPolicyFactory - Interface in io.apiman.gateway.engine.policy
Factory used to create instances of policies.
IPolicyFailureFactoryComponent - Interface in io.apiman.gateway.engine.components
Component that can be used to create policy failures.
IRateLimiterComponent - Interface in io.apiman.gateway.engine.components
A component used to enforce rate limits.
IReadStream<H> - Interface in io.apiman.gateway.engine.io
Read a chunked stream by setting handlers.
IReadWriteStream<H> - Interface in io.apiman.gateway.engine.io
A stream where both read and write aspects can be manipulated.
IRegistry - Interface in io.apiman.gateway.engine
A registry that maintains a collection of Services and Contracts that have been published to the API Management runtime engine.
isAccepted() - Method in class io.apiman.gateway.engine.components.rate.RateLimitResponse
 
isBadResponse() - Method in exception io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver.InfluxException
 
isError() - Method in class io.apiman.gateway.engine.async.AsyncResultImpl
 
isError() - Method in interface io.apiman.gateway.engine.async.IAsyncResult
Whether the call failed.
isError() - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
IServiceConnection - Interface in io.apiman.gateway.engine
A connection to a back-end service.
IServiceConnectionResponse - Interface in io.apiman.gateway.engine
A service connection response represents the result of a successful connection to a back-end service.
IServiceConnector - Interface in io.apiman.gateway.engine
Interface implemented by connectors to back end systems.
IServiceRequestExecutor - Interface in io.apiman.gateway.engine
IPolicyRequestExecutor interface.
isException() - Method in exception io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver.InfluxException
 
isFailure() - Method in interface io.apiman.gateway.engine.IEngineResult
Whether a failure occurred during engine execution.
isFailure() - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
isFinished() - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
 
isFinished() - Method in class io.apiman.gateway.engine.io.AbstractStream
 
isFinished() - Method in interface io.apiman.gateway.engine.io.IStream
Indicates whether the stream has finished.
isFinished() - Method in interface io.apiman.gateway.engine.IServiceRequestExecutor
Policy request-response sequence has completed.
ISharedStateComponent - Interface in io.apiman.gateway.engine.components
A component that allows policies to share information across invocations and potentially across nodes in a cluster.
ISignalReadStream<H> - Interface in io.apiman.gateway.engine.io
As IReadStream but with explicit ISignalReadStream.transmit() which indicates to the sender that they may begin transmitting.
ISignalWriteStream - Interface in io.apiman.gateway.engine.io
isResponse() - Method in interface io.apiman.gateway.engine.IEngineResult
Whether a response has been set.
isResponse() - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
isSuccess() - Method in class io.apiman.gateway.engine.async.AsyncResultImpl
 
isSuccess() - Method in interface io.apiman.gateway.engine.async.IAsyncResult
Whether the call was successful.
IStream - Interface in io.apiman.gateway.engine.io
Common Stream interface.
isWriteFailed() - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
iterator() - Method in class io.apiman.gateway.engine.policy.RequestChain
 
iterator() - Method in class io.apiman.gateway.engine.policy.ResponseChain
 
IWriteStream - Interface in io.apiman.gateway.engine.io
Write into a stream by repeatedly submitting chunks via IWriteStream.write(IApimanBuffer).

L

last - Variable in class io.apiman.gateway.engine.rates.RateLimiterBucket
 
length() - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
listDatabases(IAsyncResultHandler<List<String>>) - Method in class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver
List all databases
loadConfig(IPolicy, String) - Method in interface io.apiman.gateway.engine.policy.IPolicyFactory
Loads the given configuration data into a config object.
loadConfig(IPolicy, String) - Method in class io.apiman.gateway.engine.policy.PolicyFactoryImpl
 
loadPlugin(PluginCoordinates, IAsyncResultHandler<Plugin>) - Method in class io.apiman.gateway.engine.impl.DefaultPluginRegistry
 
loadPlugin(PluginCoordinates, IAsyncResultHandler<Plugin>) - Method in interface io.apiman.gateway.engine.IPluginRegistry
Asynchronously loads a plugin.
loadPolicy(String, IAsyncResultHandler<IPolicy>) - Method in interface io.apiman.gateway.engine.policy.IPolicyFactory
Load a policy implementation asynchronously.
loadPolicy(String, IAsyncResultHandler<IPolicy>) - Method in class io.apiman.gateway.engine.policy.PolicyFactoryImpl
 

M

Messages - Class in io.apiman.gateway.engine.i18n
I18N Messages
Messages() - Constructor for class io.apiman.gateway.engine.i18n.Messages
Constructor.
MetricType - Enum in io.apiman.gateway.engine.metrics
The different types of metrics.

P

parseConfiguration(String) - Method in interface io.apiman.gateway.engine.policy.IPolicy
Parses the JSON configuration into a policy specific configuration object type.
PolicyContextImpl - Class in io.apiman.gateway.engine.policy
A simple implementation of a IPolicyContext.
PolicyContextImpl(IComponentRegistry) - Constructor for class io.apiman.gateway.engine.policy.PolicyContextImpl
Constructor.
policyErrorHandler(IAsyncHandler<Throwable>) - Method in class io.apiman.gateway.engine.policy.Chain
Sets the policy error handler.
PolicyFactoryImpl - Class in io.apiman.gateway.engine.policy
An implementation of the IPolicyFactory interface.
PolicyFactoryImpl() - Constructor for class io.apiman.gateway.engine.policy.PolicyFactoryImpl
Constructor.
policyFailureHandler(IAsyncHandler<PolicyFailure>) - Method in class io.apiman.gateway.engine.policy.Chain
Sets the policy failure handler.
PolicyWithConfiguration - Class in io.apiman.gateway.engine.policy
A simple container to hold both the policy impl and its configuration information.
PolicyWithConfiguration(IPolicy, Object) - Constructor for class io.apiman.gateway.engine.policy.PolicyWithConfiguration
Constructor.
publishService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
 
publishService(Service, IAsyncResultHandler<Void>) - Method in interface io.apiman.gateway.engine.IRegistry
Publishes a new Service into the registry.

R

RateBucketPeriod - Enum in io.apiman.gateway.engine.rates
The type of bucket to use when enforcing rate limits.
RateLimiterBucket - Class in io.apiman.gateway.engine.rates
May be used by IRateLimiterComponent implementations.
RateLimiterBucket() - Constructor for class io.apiman.gateway.engine.rates.RateLimiterBucket
Constructor.
RateLimitResponse - Class in io.apiman.gateway.engine.components.rate
A simple bean that is returned when using the rate limiter component.
RateLimitResponse() - Constructor for class io.apiman.gateway.engine.components.rate.RateLimitResponse
Constructor.
readPluginFile(PluginCoordinates, File) - Method in class io.apiman.gateway.engine.impl.DefaultPluginRegistry
Reads the plugin into an object.
record(RequestMetric) - Method in interface io.apiman.gateway.engine.IMetrics
Records the metrics for a single request.
record(RequestMetric) - Method in class io.apiman.gateway.engine.impl.InMemoryMetrics
 
record(RequestMetric) - Method in class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Metrics
 
recordErrorMetrics(Throwable) - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
 
recordFailureMetrics(PolicyFailure) - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
 
recordSuccessMetrics(ServiceResponse) - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
 
registerApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
 
registerApplication(Application, IAsyncResultHandler<Void>) - Method in interface io.apiman.gateway.engine.IRegistry
Registers a new Application with the registry.
registerBufferFactoryComponent() - Method in class io.apiman.gateway.engine.impl.DefaultComponentRegistry
 
registerHttpClientComponent() - Method in class io.apiman.gateway.engine.impl.DefaultComponentRegistry
 
registerPolicyFailureFactoryComponent() - Method in class io.apiman.gateway.engine.impl.DefaultComponentRegistry
 
registerRateLimiterComponent() - Method in class io.apiman.gateway.engine.impl.DefaultComponentRegistry
 
registerSharedStateComponent() - Method in class io.apiman.gateway.engine.impl.DefaultComponentRegistry
 
removeAttribute(String) - Method in interface io.apiman.gateway.engine.policy.IPolicyContext
Removes an attribute from the conversation.
removeAttribute(String) - Method in class io.apiman.gateway.engine.policy.PolicyContextImpl
 
removeHeader(String) - Method in interface io.apiman.gateway.engine.components.http.IHttpClientRequest
Removes a header.
request(String, HttpMethod, IAsyncResultHandler<IHttpClientResponse>) - Method in interface io.apiman.gateway.engine.components.IHttpClientComponent
Creates a new http client request.
RequestChain - Class in io.apiman.gateway.engine.policy
Request phase policy chain.
RequestChain(List<PolicyWithConfiguration>, IPolicyContext) - Constructor for class io.apiman.gateway.engine.policy.RequestChain
Constructor.
RequestMetric - Class in io.apiman.gateway.engine.metrics
Metric information about a single request processed by the API Gateway.
RequestMetric() - Constructor for class io.apiman.gateway.engine.metrics.RequestMetric
Constructor.
resetIfNecessary(RateBucketPeriod) - Method in class io.apiman.gateway.engine.rates.RateLimiterBucket
Resets the count if the period boundary has been crossed.
ResponseChain - Class in io.apiman.gateway.engine.policy
Response phase policy chain.
ResponseChain(List<PolicyWithConfiguration>, IPolicyContext) - Constructor for class io.apiman.gateway.engine.policy.ResponseChain
Constructor.
retireService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
 
retireService(Service, IAsyncResultHandler<Void>) - Method in interface io.apiman.gateway.engine.IRegistry
Retires (removes) a Service from the registry.

S

ServiceRequestExecutorImpl - Class in io.apiman.gateway.engine.impl
Manages a single request-response sequence.
ServiceRequestExecutorImpl(ServiceRequest, IAsyncResultHandler<IEngineResult>, IRegistry, IPolicyContext, IPolicyFactory, IConnectorFactory, IMetrics) - Constructor for class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
Constructs a new ServiceRequestExecutorImpl.
set(int, byte) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
setAccepted(boolean) - Method in class io.apiman.gateway.engine.components.rate.RateLimitResponse
 
setApplicationId(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setApplicationOrgId(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setApplicationVersion(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setAttribute(String, Object) - Method in interface io.apiman.gateway.engine.policy.IPolicyContext
Sets a conversation-scoped attribute, allowing policies to pass interesting information to each other and to themselves.
setAttribute(String, Object) - Method in class io.apiman.gateway.engine.policy.PolicyContextImpl
 
setCode(int) - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
setComponentRegistry(IComponentRegistry) - Method in interface io.apiman.gateway.engine.IMetrics
Provides the component registry (before any call to IMetrics.record(RequestMetric)) is made.
setComponentRegistry(IComponentRegistry) - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
setComponentRegistry(IComponentRegistry) - Method in class io.apiman.gateway.engine.impl.InMemoryMetrics
 
setComponentRegistry(IComponentRegistry) - Method in class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Metrics
 
setConfiguration(Object) - Method in class io.apiman.gateway.engine.policy.PolicyWithConfiguration
 
setConnectorFactory(IConnectorFactory) - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
setConnectorInterceptor(IConnectorInterceptor) - Method in interface io.apiman.gateway.engine.policy.IPolicyContext
Sets the IConnectorInterceptor to be used instead of the real connection.
setConnectorInterceptor(IConnectorInterceptor) - Method in class io.apiman.gateway.engine.policy.PolicyContextImpl
 
setConnectorResponseStream(ISignalReadStream<ServiceResponse>) - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
setContractId(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setError(boolean) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setErrorMessage(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setFailureCode(int) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setFailureReason(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setHeaders(Map<String, String>) - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
setMessage(String) - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
setMethod(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setMetrics(IMetrics) - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
setOneshotTimer(long, IAsyncHandler<Long>) - Method in interface io.apiman.gateway.engine.components.IPeriodicComponent
Calls handler only once after the specified long deltaMillis milliseconds has elapsed.
setPeriodicTimer(long, long, IAsyncHandler<Long>) - Method in interface io.apiman.gateway.engine.components.IPeriodicComponent
Calls handler every periodMillis milliseconds after waiting initialDelayMillis for the first iteration.
setPluginRegistry(IPluginRegistry) - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
setPluginRegistry(IPluginRegistry) - Method in interface io.apiman.gateway.engine.policy.IPolicyFactory
 
setPluginRegistry(IPluginRegistry) - Method in class io.apiman.gateway.engine.policy.PolicyFactoryImpl
 
setPolicy(IPolicy) - Method in class io.apiman.gateway.engine.policy.PolicyWithConfiguration
 
setPolicyFactory(IPolicyFactory) - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
setPolicyFailure(PolicyFailure) - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
setProperty(String, String, T, IAsyncResultHandler<T>) - Method in interface io.apiman.gateway.engine.components.IDataStoreComponent
Sets a single property in the shared state environment, returning the previous value of the property or null if it was not previously set.
setProperty(String, String, T, Long, IAsyncResultHandler<T>) - Method in interface io.apiman.gateway.engine.components.IDataStoreComponent
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.
setProperty(String, String, T, IAsyncResultHandler<Void>) - Method in interface io.apiman.gateway.engine.components.ISharedStateComponent
Sets a single property in the shared state environment.
setProperty(String, String, T, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.impl.InMemoryDataStoreComponent
 
setProperty(String, String, T, Long, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.impl.InMemoryDataStoreComponent
This implementation will ignore the expiration time
setProperty(String, String, T, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.impl.InMemorySharedStateComponent
 
setRegistry(IRegistry) - Method in class io.apiman.gateway.engine.impl.EngineImpl
 
setRemaining(int) - Method in class io.apiman.gateway.engine.components.rate.RateLimitResponse
 
setRequestDuration(long) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setRequestEnd(Date) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setRequestStart(Date) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setReset(long) - Method in class io.apiman.gateway.engine.components.rate.RateLimitResponse
 
setResource(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setResponseCode(int) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setResponseMessage(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setServiceDuration(long) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setServiceEnd(Date) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setServiceId(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setServiceOrgId(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setServiceResponse(ServiceResponse) - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
 
setServiceStart(Date) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
setServiceVersion(String) - Method in class io.apiman.gateway.engine.metrics.RequestMetric
 
streamHandler(IAsyncHandler<ISignalWriteStream>) - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
 
streamHandler(IAsyncHandler<ISignalWriteStream>) - Method in interface io.apiman.gateway.engine.IServiceRequestExecutor
Indicates when the back-end connector is ready to handle streamed data.

T

throwError(Throwable) - Method in class io.apiman.gateway.engine.policy.Chain
Called when an unexpected and unrecoverable error is encountered.
throwError(Throwable) - Method in interface io.apiman.gateway.engine.policy.IPolicyChain
Called by a policy when an unexpected and unrecoverable error is encountered.
toString() - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
toString(String) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
 
transmit() - Method in interface io.apiman.gateway.engine.io.ISignalReadStream
Signal that transmission may begin.

U

unregisterApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
 
unregisterApplication(Application, IAsyncResultHandler<Void>) - Method in interface io.apiman.gateway.engine.IRegistry
Removes an Application from the registry.

V

validateRequest(ServiceRequest) - Method in class io.apiman.gateway.engine.impl.ServiceRequestExecutorImpl
Validates that the contract being used for the request is valid against the service information included in the request.
valueOf(String) - Static method in enum io.apiman.gateway.engine.components.http.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.apiman.gateway.engine.metrics.MetricType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.apiman.gateway.engine.rates.RateBucketPeriod
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.apiman.gateway.engine.components.http.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.apiman.gateway.engine.metrics.MetricType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.apiman.gateway.engine.rates.RateBucketPeriod
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in io.apiman.gateway.engine
Accessor - used to get the current version of the engine.

W

write(byte[]) - Method in interface io.apiman.gateway.engine.components.http.IHttpClientRequest
Writes some data to the request.
write(String, String) - Method in interface io.apiman.gateway.engine.components.http.IHttpClientRequest
Writes some data to the request, forming the body.
write(IApimanBuffer) - Method in class io.apiman.gateway.engine.impl.CachedResponse
 
write(IApimanBuffer) - Method in class io.apiman.gateway.engine.io.AbstractStream
 
write(IApimanBuffer) - Method in interface io.apiman.gateway.engine.io.IWriteStream
Write a chunk to the stream.
write(String, String, IAsyncHandler<InfluxDb09Driver.InfluxException>) - Method in class io.apiman.gateway.engine.metrics.impl.influxdb.InfluxDb09Driver
Simple write to "/write".
write(IApimanBuffer) - Method in class io.apiman.gateway.engine.policy.Chain
 
A B C D E F G H I L M P R S T U V W 

Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.