| Package | Description |
|---|---|
| io.apiman.gateway.engine.policies |
| Modifier and Type | Method and Description |
|---|---|
protected Class<TransferQuotaConfig> |
TransferQuotaPolicy.getConfigurationClass() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransferQuotaPolicy.doApply(io.apiman.gateway.engine.beans.ServiceRequest request,
io.apiman.gateway.engine.policy.IPolicyContext context,
TransferQuotaConfig config,
io.apiman.gateway.engine.policy.IPolicyChain<io.apiman.gateway.engine.beans.ServiceRequest> chain) |
protected void |
TransferQuotaPolicy.doApply(io.apiman.gateway.engine.beans.ServiceResponse response,
io.apiman.gateway.engine.policy.IPolicyContext context,
TransferQuotaConfig config,
io.apiman.gateway.engine.policy.IPolicyChain<io.apiman.gateway.engine.beans.ServiceResponse> chain) |
protected void |
TransferQuotaPolicy.doFinalApply(io.apiman.gateway.engine.policy.IPolicyContext context,
TransferQuotaConfig config,
long downloadedBytes)
Called when everything is done (the last byte is written).
|
protected void |
TransferQuotaPolicy.doQuotaExceededFailure(io.apiman.gateway.engine.policy.IPolicyContext context,
TransferQuotaConfig config,
io.apiman.gateway.engine.policy.IPolicyChain<?> chain,
io.apiman.gateway.engine.components.rate.RateLimitResponse rtr)
Called to send a 'quota exceeded' failure.
|
protected io.apiman.gateway.engine.io.IReadWriteStream<io.apiman.gateway.engine.beans.ServiceRequest> |
TransferQuotaPolicy.requestDataHandler(io.apiman.gateway.engine.beans.ServiceRequest request,
io.apiman.gateway.engine.policy.IPolicyContext context,
TransferQuotaConfig config) |
protected io.apiman.gateway.engine.io.IReadWriteStream<io.apiman.gateway.engine.beans.ServiceResponse> |
TransferQuotaPolicy.responseDataHandler(io.apiman.gateway.engine.beans.ServiceResponse response,
io.apiman.gateway.engine.policy.IPolicyContext context,
TransferQuotaConfig config) |
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.