public interface IPolicyChain<T>
| Modifier and Type | Method and Description |
|---|---|
void |
doApply(T serviceObject)
Called by a policy when it has successfully completed applying itself.
|
void |
doFailure(io.apiman.gateway.engine.beans.PolicyFailure failure)
Called by a policy when it has detected a violation or failure in the policy.
|
void |
throwError(Throwable error)
Called by a policy when an unexpected and unrecoverable error is encountered.
|
void doApply(T serviceObject)
serviceObject - void doFailure(io.apiman.gateway.engine.beans.PolicyFailure failure)
failure - void throwError(Throwable error)
error - Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.