| Package | Description |
|---|---|
| io.apiman.gateway.engine.policies |
| Modifier and Type | Method and Description |
|---|---|
protected Class<CachingConfig> |
CachingPolicy.getConfigurationClass() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CachingPolicy.doApply(io.apiman.gateway.engine.beans.ServiceRequest request,
io.apiman.gateway.engine.policy.IPolicyContext context,
CachingConfig config,
io.apiman.gateway.engine.policy.IPolicyChain<io.apiman.gateway.engine.beans.ServiceRequest> chain)
If the request is cached an
IConnectorInterceptor is set in order to prevent the back-end connection to be established. |
protected void |
CachingPolicy.doApply(io.apiman.gateway.engine.beans.ServiceResponse response,
io.apiman.gateway.engine.policy.IPolicyContext context,
CachingConfig config,
io.apiman.gateway.engine.policy.IPolicyChain<io.apiman.gateway.engine.beans.ServiceResponse> chain) |
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.