- 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.ISharedStateComponent
-
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<T>) - 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(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.
- 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.
- 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
-
- 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
-
- get(int) - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
-
- get() - Static method in class io.apiman.gateway.engine.Version
-
- 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.
- 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
-
- getContext() - Method in class io.apiman.gateway.engine.policy.Chain
-
- getContract(ServiceRequest) - Method in class io.apiman.gateway.engine.impl.InMemoryRegistry
-
- getContract(ServiceRequest) - Method in interface io.apiman.gateway.engine.IRegistry
-
Gets the Contract to use based on information included in the inbound
service request.
- 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.
- 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
-
- getNativeBuffer() - Method in interface io.apiman.gateway.engine.io.IApimanBuffer
-
Get encapsulated native buffer.
- getPolicies() - Method in class io.apiman.gateway.engine.policy.Chain
-
- getPolicy() - Method in class io.apiman.gateway.engine.policy.PolicyWithConfiguration
-
- getPolicyConfig(IPolicy, Policy) - Method in class io.apiman.gateway.engine.impl.EngineImpl
-
Gets the policy config object for the given policy.
- 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.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.InMemorySharedStateComponent
-
- 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
-
- 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.
- getResponseCode() - Method in interface io.apiman.gateway.engine.components.http.IHttpClientResponse
-
- 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
-
- 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.
- 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
-
- getServiceResponse() - Method in interface io.apiman.gateway.engine.IEngineResult
-
- getServiceResponse() - Method in class io.apiman.gateway.engine.impl.EngineResultImpl
-
- 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
-
- 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.
- 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.
- 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.
- 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.
- 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.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.policy - package io.apiman.gateway.engine.policy
-
- io.apiman.gateway.engine.rates - package io.apiman.gateway.engine.rates
-
- 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.
- isError() - Method in class io.apiman.gateway.engine.async.AsyncResultImpl
-
- isError() - Method in interface io.apiman.gateway.engine.async.IAsyncResult
-
Whether the call failed.
- 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.
- 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 invokations
and potentially across nodes in a cluster.
- ISignalReadStream<H> - Interface in io.apiman.gateway.engine.io
-
- 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.
- 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
-