Package org.frontcache.bots


package org.frontcache.bots
  • Classes
    Class
    Description
    Decides a request's visitor type - bot, guest or a type the file declares with @type <name> like <bot|guest> (VisitorTypes) - and so its client type, the root - from conf/bots.conf.
    One classification rule from conf/bots.conf: name | condition | verdict [| dry-run].
    Wire/DTO view of a BotRule - what the management API (get-bots) returns and the console renders, alongside the flat botKeywords an older console knows how to read.
    Parses one line of conf/bots.conf.
    The client="..." attribute of an <fc:include>: which visitors the fragment is resolved for.
    Wire/DTO view of one visitor type a node knows - a root (bot, guest) or a type bots.conf declares - for get-bots' visitorTypes (2.13.0) and the console's types table.
    Top-level requests by visitor type (the leaf), counted where the type is decided - what the exporter reports as frontcache_visitor_requests_total{type} (2.13.0).
    The visitor types a node knows: the two roots, bot and guest, and the types bots.conf declares with @type <name> like <bot|guest> - at most 16, each based on a root.
    Builds a vocabulary from @type lines, refusing each bad one alone - the file's rule: one bad line costs that line.