Class GuardOutcome
java.lang.Object
org.frontcache.guard.GuardOutcome
Result of running the guard pipeline for one request: either "carry on to FC_Total" or a
terminal action (reject / redirect) together with the rule that produced it.
Dry-run rules that matched are carried alongside: they do not stop the request, but each one is
written to the failed-requests log so a new rule can be validated against real traffic before it
enforces anything.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GuardOutcomeno rule matched - the request continues as usual -
Method Summary
-
Field Details
-
CONTINUE
no rule matched - the request continues as usual
-
-
Method Details
-
terminal
public static GuardOutcome terminal(GuardRule rule, String resolvedTarget, List<GuardRule> dryRunMatches) -
cont
-
isTerminal
public boolean isTerminal() -
getRule
-
getAction
-
getResolvedTarget
- Returns:
- redirect target with placeholders expanded, or null for non-redirect outcomes
-
getDryRunMatches
-