Class GetGuardRulesActionResponse
java.lang.Object
org.frontcache.io.ActionResponse
org.frontcache.io.GetGuardRulesActionResponse
Response for the get-guard-rules action: the guard rules this node is running, in evaluation
order (built-ins first, then conf/guard-rules.conf), each with its hit count since start.
A LIST, not a per-domain map like bots/dynamic-urls: guard rules are global by design (a rule
targets a domain with a host~ predicate), and their order is what decides which one wins.
-
Field Summary
Fields inherited from class ActionResponse
RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ActionResponse
getAction, getErrorDescription, getResponseStatus, setAction, setErrorDescription, setResponseStatus
-
Constructor Details
-
GetGuardRulesActionResponse
public GetGuardRulesActionResponse()
-
-
Method Details
-
getGuardRules
-
setGuardRules
-