Class GetBotsActionResponse

java.lang.Object
org.frontcache.io.ActionResponse
org.frontcache.io.GetBotsActionResponse

public class GetBotsActionResponse extends org.frontcache.io.ActionResponse
Bot classification config from ./conf/bots.conf: the ordered rules, and the bare User-Agent keywords. A flat set as of 2.7. Before that it was a Map<domain, Set<String>> - a shape that outlived its reason: one node serves one site, so the map always held exactly one entry, and the console's JSPs had to switch on the literal "default-domain" to render it. Both shapes go out on the wire, and both are accepted coming in. See LegacyDomainKeyedField for why. botRules is additive, as of 2.9.0. botKeywords keeps meaning exactly what it did - the BARE keyword lines, nothing else - so a console older than the rules still renders the list it knows; a newer console reading an older node finds botRules absent and falls back to the same list. The console is deployed separately from the fleet and upgrades in either order. visitorTypes is additive likewise, as of 2.13.0: the roots and the declared types, each with its base, its no-store flag and the hits of the rules deciding it. An older node leaves it absent; an older console ignores it and renders a declared type as the string in a rule's verdict column.
  • Constructor Details

    • GetBotsActionResponse

      public GetBotsActionResponse()
  • Method Details